projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7b807c
)
xen: events: Fix compile error if CONFIG_SMP is not defined.
author
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Tue, 15 Mar 2011 20:40:33 +0000
(16:40 -0400)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Tue, 15 Mar 2011 20:40:33 +0000
(16:40 -0400)
drivers/xen/events.c:396: error: 'struct irq_data' has no member named 'affinity'
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c
patch
|
blob
|
history
diff --git
a/drivers/xen/events.c
b/drivers/xen/events.c
index dc8177950d0523b288f69b98dd682b67f7636a13..4591853f6ebcf8ed9a513b6a0ad0a573454b2e34 100644
(file)
--- a/
drivers/xen/events.c
+++ b/
drivers/xen/events.c
@@
-392,8
+392,10
@@
static void xen_irq_init(unsigned irq)
struct irq_info *info;
struct irq_desc *desc = irq_to_desc(irq);
+#ifdef CONFIG_SMP
/* By default all event channels notify CPU#0. */
cpumask_copy(desc->irq_data.affinity, cpumask_of(0));
+#endif
info = kzalloc(sizeof(*info), GFP_KERNEL);
if (info == NULL)