Skip to content

Commit

Permalink
sh: Fix dreamcast build for IRQ changes.
Browse files Browse the repository at this point in the history
When the irq.h changes went in, the dreamcast code was still
referencing an old value. Switch it back to the IRQ number,
which fixes this:

arch/sh/boards/dreamcast/irq.c: In function `disable_systemasic_irq':
arch/sh/boards/dreamcast/irq.c:59: error: `OFFCHIP_IRQ_BASE' undeclared (first
use in this function)
arch/sh/boards/dreamcast/irq.c:59: error: (Each undeclared identifier is reported only once
arch/sh/boards/dreamcast/irq.c:59: error: for each function it appears in.)

Reported-by: Adrian McMenamin <adrian@newgolddream.dyndns.info>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 21, 2007
1 parent dfbbbe9 commit 31d106c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-sh/dreamcast/sysasic.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
takes.
*/

#define HW_EVENT_IRQ_BASE OFFCHIP_IRQ_BASE /* 48 */
#define HW_EVENT_IRQ_BASE 48

/* IRQ 13 */
#define HW_EVENT_VSYNC (HW_EVENT_IRQ_BASE + 5) /* VSync */
Expand Down

0 comments on commit 31d106c

Please sign in to comment.