提交 31d106c6 编写于 作者: P Paul Mundt

sh: Fix dreamcast build for IRQ changes.

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: NAdrian McMenamin <adrian@newgolddream.dyndns.info>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 dfbbbe92
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
takes. takes.
*/ */
#define HW_EVENT_IRQ_BASE OFFCHIP_IRQ_BASE /* 48 */ #define HW_EVENT_IRQ_BASE 48
/* IRQ 13 */ /* IRQ 13 */
#define HW_EVENT_VSYNC (HW_EVENT_IRQ_BASE + 5) /* VSync */ #define HW_EVENT_VSYNC (HW_EVENT_IRQ_BASE + 5) /* VSync */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册