Skip to content

Commit

Permalink
sh: Fix OFFCHIP_IRQ_BASE compile error.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kristoffer Ericson authored and Paul Mundt committed Sep 21, 2007
1 parent 3d73e53 commit f12468a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-sh/hd64461.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
#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)
Expand Down

0 comments on commit f12468a

Please sign in to comment.