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-Tag: v2.6.29-rc3~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1267a8df209c7453d65acbdd56e3588954bf890b;p=linux-2.6-omap-h63xx.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 cd0cd8dcb34..618a64f1915 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)