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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
David Daney 2009-01-27 09:53:21 -08:00 • committed by Linus Torvalds
commit 1267a8df20

View file

@ -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)