| To: | linux-mips@vger.kernel.org, linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] kernel: fix MIPS compile for !CONFIG_SMP |
| From: | Alexander Clouter <alex@digriz.org.uk> |
| Date: | Sun, 5 Jul 2009 12:00:55 +0100 |
| Cc: | tanderson@mvista.com |
| Organization: | diGriz |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
Commit fc03bc1715ca0ad4ccfe97aab16bcc9e7129c1a4 breaks compiling MIPS with SMP disabled. This patch fixes that. Signed-off-by: Alexander Clouter <alex@digriz.org.uk> --- arch/mips/include/asm/gic.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h index 10292e3..a8f5734 100644 --- a/arch/mips/include/asm/gic.h +++ b/arch/mips/include/asm/gic.h @@ -20,7 +20,7 @@ #define GIC_TRIG_EDGE 1 #define GIC_TRIG_LEVEL 0 -#if CONFIG_SMP +#ifdef CONFIG_SMP #define GIC_NUM_INTRS (24 + NR_CPUS * 2) #else #define GIC_NUM_INTRS 32 -- 1.6.3.3 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [BUG] drivers/video/sis: deadlock introduced by "fbdev: add mutex for fb_mmap locking", Wu Zhangjin |
|---|---|
| Next by Date: | Re: mtd related Cobalt build failure with current git, Florian Fainelli |
| Previous by Thread: | [BUG] drivers/video/sis: deadlock introduced by "fbdev: add mutex for fb_mmap locking", Wu Zhangjin |
| Next by Thread: | Re: [PATCH] kernel: fix MIPS compile for !CONFIG_SMP, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |