summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-01-27 18:53:21 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-28 01:06:49 +0100
commit1267a8df209c7453d65acbdd56e3588954bf890b (patch)
tree816732505914ba145fd3fba77c903ed4947c8701
parentFix longstanding "error: storage size of '__mod_dmi_device_table' isn't known" (diff)
downloadlinux-1267a8df209c7453d65acbdd56e3588954bf890b.tar.xz
linux-1267a8df209c7453d65acbdd56e3588954bf890b.zip
Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too.
In interrupt.h these functions are declared only if CONFIG_GENERIC_HARDIRQS is set. We should define them under identical conditions. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/irq/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index cd0cd8dcb345..618a64f1915a 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -15,7 +15,7 @@
#include "internals.h"
-#ifdef CONFIG_SMP
+#if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS)
cpumask_var_t irq_default_affinity;
static int init_irq_default_affinity(void)