|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [IA64] Remove xenirq.c.
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 52fa146a30aec0842a78ecb1035233cb6eba1ed4
# Parent db2bd8169e9b79bca194d0c698e7229a5cd984c3
[IA64] Remove xenirq.c.
Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
diff -r db2bd8169e9b -r 52fa146a30ae xen/arch/ia64/xen/irq.c
--- a/xen/arch/ia64/xen/irq.c Tue Apr 11 13:55:36 2006 -0600
+++ b/xen/arch/ia64/xen/irq.c Tue Apr 11 13:55:40 2006 -0600
@@ -544,6 +544,47 @@ int pirq_guest_unbind(struct domain *d,
return 0;
}
+void
+xen_debug_irq(unsigned long vector, struct pt_regs *regs)
+{
+//FIXME: For debug only, can be removed
+ static char firstirq = 1;
+ static char firsttime[256];
+ static char firstpend[256];
+ if (firstirq) {
+ int i;
+ for (i=0;i<256;i++) firsttime[i] = 1;
+ for (i=0;i<256;i++) firstpend[i] = 1;
+ firstirq = 0;
+ }
+ if (firsttime[vector]) {
+ printf("**** (entry) First received int on
vector=%lu,itc=%lx\n",
+ (unsigned long) vector, ia64_get_itc());
+ firsttime[vector] = 0;
+ }
+}
+
+/*
+ * Exit an interrupt context. Process softirqs if needed and possible:
+ */
+void irq_exit(void)
+{
+ sub_preempt_count(IRQ_EXIT_OFFSET);
+}
+
+/*
+ * ONLY gets called from ia64_leave_kernel
+ * ONLY call with interrupts enabled
+ */
+void process_soft_irq(void)
+{
+ if (!in_interrupt() && local_softirq_pending()) {
+ add_preempt_count(SOFTIRQ_OFFSET);
+ do_softirq();
+ sub_preempt_count(SOFTIRQ_OFFSET);
+ }
+}
+
// this is a temporary hack until real console input is implemented
extern void domain_pend_keyboard_interrupt(int irq);
irqreturn_t guest_forward_keyboard_input(int irq, void *nada, struct pt_regs
*regs)
diff -r db2bd8169e9b -r 52fa146a30ae xen/arch/ia64/xen/xenirq.c
--- a/xen/arch/ia64/xen/xenirq.c Tue Apr 11 13:55:36 2006 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
- * Xen irq routines
- *
- * Copyright (C) 2005 Hewlett-Packard Co.
- * Dan Magenheimer (dan.magenheimer@xxxxxx)
- *
- */
-
-#include <asm/ptrace.h>
-#include <asm/hw_irq.h>
-#include <asm/delay.h>
-
-void
-xen_debug_irq(ia64_vector vector, struct pt_regs *regs)
-{
-//FIXME: For debug only, can be removed
- static char firstirq = 1;
- static char firsttime[256];
- static char firstpend[256];
- if (firstirq) {
- int i;
- for (i=0;i<256;i++) firsttime[i] = 1;
- for (i=0;i<256;i++) firstpend[i] = 1;
- firstirq = 0;
- }
- if (firsttime[vector]) {
- printf("**** (entry) First received int on
vector=%lu,itc=%lx\n",
- (unsigned long) vector, ia64_get_itc());
- firsttime[vector] = 0;
- }
-}
-
-/*
- * Exit an interrupt context. Process softirqs if needed and possible:
- */
-void irq_exit(void)
-{
- sub_preempt_count(IRQ_EXIT_OFFSET);
-}
-
-/*
- * ONLY gets called from ia64_leave_kernel
- * ONLY call with interrupts enabled
- */
-void process_soft_irq(void)
-{
- if (!in_interrupt() && local_softirq_pending()) {
- add_preempt_count(SOFTIRQ_OFFSET);
- do_softirq();
- sub_preempt_count(SOFTIRQ_OFFSET);
- }
-}
-
-/* end from linux/kernel/softirq.c */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [IA64] Remove xenirq.c.,
Xen patchbot -unstable <=
|
|
|
|
|