summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-01-27 17:53:21 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-28 00:06:49 (GMT)
commit1267a8df209c7453d65acbdd56e3588954bf890b (patch)
tree816732505914ba145fd3fba77c903ed4947c8701
parent40413dcb7b273bda681dca38e6ff0bbb3728ef11 (diff)
downloadlinux-fsl-qoriq-1267a8df209c7453d65acbdd56e3588954bf890b.tar.xz
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 cd0cd8d..618a64f 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)