Messages in this thread Patch in this message | | | From | David Daney <> | Subject | [PATCH 1/2] Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too. | Date | Thu, 8 Jan 2009 14:55:44 -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> --- kernel/irq/manage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index cd0cd8d..618a64f 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) -- 1.5.6.6
| |