| To: | torvalds@linux-foundation.org, akpm@linux-foundation.org |
|---|---|
| Subject: | [PATCH 1/2] Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Tue, 27 Jan 2009 09:53:21 -0800 |
| Cc: | linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, travis@sgi.com, David Daney <ddaney@caviumnetworks.com> |
| In-reply-to: | <497F48F2.90309@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <497F48F2.90309@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/2] cpumask fallout: Initialize irq_default_affinity earlier (v3)., David Daney |
|---|---|
| Next by Date: | Re: IP35 Origin 300/3000 support?, Ralf Baechle |
| Previous by Thread: | [PATCH 2/2] cpumask fallout: Initialize irq_default_affinity earlier (v3)., David Daney |
| Next by Thread: | memcpy and prefetch, Michael Sundius |
| Indexes: | [Date] [Thread] [Top] [All Lists] |