Skip to content

Commit

Permalink
MIPS: Fix compile for !CONFIG_SMP
Browse files Browse the repository at this point in the history
Commit fc03bc1715ca0ad4ccfe97aab16bcc9e7129c1a4 breaks compiling MIPS
with SMP disabled.  This patch fixes that.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Alexander Clouter authored and Ralf Baechle committed Aug 3, 2009
1 parent a887b4d commit 7d35cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/gic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d35cdc

Please sign in to comment.