From: David Daney Date: Tue, 27 Jan 2009 17:53:21 +0000 (-0800) Subject: Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1267a8df209c7453d65acbdd56e3588954bf890b;p=linux-beck.git 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 Signed-off-by: Linus Torvalds --- 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)