Skip to content

Commit

Permalink
Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Daney authored and Linus Torvalds committed Jan 28, 2009
1 parent 40413dc commit 1267a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1267a8d

Please sign in to comment.