| To: | rusty@rustcorp.com.au, torvalds@linux-foundation.org |
|---|---|
| Subject: | [PATCH 1/2] Make irq_*_affinity depend on CONFIG_GENERIC_HARDIRQS too. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Thu, 8 Jan 2009 14:55:44 -0800 |
| Cc: | linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, travis@sgi.com, David Daney <ddaney@caviumnetworks.com> |
| In-reply-to: | <496683D0.6000509@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <496683D0.6000509@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 (v2)., David Daney |
|---|---|
| Next by Date: | Re: [PATCH 2/2] cpumask fallout: Initialize irq_default_affinity earlier (v2)., Ihar Hrachyshka |
| Previous by Thread: | Re: [PATCH 2/2] cpumask fallout: Initialize irq_default_affinity earlier (v2)., Mike Travis |
| Next by Thread: | [PATCH 03/20] MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |