projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40413dc
)
Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too.
author
David Daney
<ddaney@caviumnetworks.com>
Tue, 27 Jan 2009 17:53:21 +0000
(09:53 -0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/irq/manage.c
b/kernel/irq/manage.c
index cd0cd8dcb3453aee98a20cd6652144cf10e42281..618a64f1915a81334ddded9b6b6175e44a169880 100644
(file)
--- a/
kernel/irq/manage.c
+++ b/
kernel/irq/manage.c
@@
-15,7
+15,7
@@
#include "internals.h"
-#if
def CONFIG_SMP
+#if
defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS)
cpumask_var_t irq_default_affinity;
static int init_irq_default_affinity(void)