# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1251710229 -3600
# Node ID 843835ef0fc18e2b35d4212399e4efdd7c44258b
# Parent cce683039b70b2f0f5bc28f7107073d3ed1d22b3
[IA64] Fix serial console freeze issue
20110:6e83b0ec2d70 is incomplete. irq_to_vector() is still required,
otherwise the serial console freezes without sync_console.
I confirmed that dom0 booted up without sync_console.
Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
---
xen/include/xen/irq.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff -r cce683039b70 -r 843835ef0fc1 xen/include/xen/irq.h
--- a/xen/include/xen/irq.h Mon Aug 31 10:14:26 2009 +0100
+++ b/xen/include/xen/irq.h Mon Aug 31 10:17:09 2009 +0100
@@ -82,14 +82,17 @@ extern irq_desc_t irq_desc[NR_VECTORS];
extern irq_desc_t irq_desc[NR_VECTORS];
#define setup_irq(irq, action) \
- setup_irq_vector(irq, action)
+ setup_irq_vector(irq_to_vector(irq), action)
#define release_irq(irq) \
- release_irq_vector(irq)
+ release_irq_vector(irq_to_vector(irq))
#define request_irq(irq, handler, irqflags, devname, devid) \
- request_irq_vector(irq, handler, irqflags, devname, devid)
+ request_irq_vector(irq_to_vector(irq), handler, irqflags, devname, devid)
+static inline unsigned int irq_to_vector(int);
+extern int setup_irq_vector(unsigned int, struct irqaction *);
+extern void release_irq_vector(unsigned int);
extern int request_irq_vector(unsigned int vector,
void (*handler)(int, void *, struct cpu_user_regs *),
unsigned long irqflags, const char * devname, void *dev_id);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|