projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
900cba8
)
xen: Fix compile warning when CONFIG_SMP is not defined.
author
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Wed, 15 Jun 2011 18:24:29 +0000
(14:24 -0400)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Wed, 15 Jun 2011 18:25:01 +0000
(14:25 -0400)
.. which is quite benign.
drivers/xen/events.c:398: warning: unused variable ‘desc’
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 553da68bd510c8ef0c7fecc2f5676778d6525954..30df85d8fca860d69a75079951feb9bb725944f1 100644
(file)
--- a/
drivers/xen/events.c
+++ b/
drivers/xen/events.c
@@
-395,9
+395,9
@@
static void unmask_evtchn(int port)
static void xen_irq_init(unsigned irq)
{
struct irq_info *info;
+#ifdef CONFIG_SMP
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