sh: Fix OFFCHIP_IRQ_BASE compile error.
authorKristoffer Ericson <Kristoffer.Ericson@gmail.com>
Tue, 11 Sep 2007 03:37:30 +0000 (12:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:52 +0000 (11:57 +0900)
HP6xx uses OFFCHIP_IRQ_BASE to know the base irq number where non
cpu interrupts should start. This define was in irq.h before, but
since rework got lost. It really belongs inside hd64461.h since
the hp6xx wont work without it.

Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/hd64461.h

index 4dd8592..342ca55 100644 (file)
 #define        HD64461_NIMR            (CONFIG_HD64461_IOBASE + 0x5002)
 
 #define        HD64461_IRQBASE         OFFCHIP_IRQ_BASE
+#define        OFFCHIP_IRQ_BASE        64
 #define        HD64461_IRQ_NUM         16
 
 #define        HD64461_IRQ_UART        (HD64461_IRQBASE+5)