]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too.
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 27 Jan 2009 17:53:21 +0000 (09:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 Jan 2009 00:06:49 +0000 (16:06 -0800)
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>
kernel/irq/manage.c

index cd0cd8dcb3453aee98a20cd6652144cf10e42281..618a64f1915a81334ddded9b6b6175e44a169880 100644 (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)