Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116099
b: refs/heads/master
c: 53abf91
h: refs/heads/master
i:
  116097: 391be44
  116095: 251e67e
v: v3
  • Loading branch information
Luca Santini authored and Paul Mundt committed Sep 8, 2008
1 parent e562d06 commit 2276a0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 205a3b4328de1c8ddd99ddd5092bed1344068213
refs/heads/master: 53abf911fa6753dfbd6775ae541fb2f8b9f5b825
5 changes: 5 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4/setup-sh7760.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/init.h>
#include <linux/serial.h>
#include <linux/serial_sci.h>
#include <linux/io.h>

enum {
UNUSED = 0,
Expand Down Expand Up @@ -178,10 +179,14 @@ static int __init sh7760_devices_setup(void)
}
__initcall(sh7760_devices_setup);

#define INTC_ICR 0xffd00000UL
#define INTC_ICR_IRLM (1 << 7)

void __init plat_irq_setup_pins(int mode)
{
switch (mode) {
case IRQ_MODE_IRQ:
ctrl_outw(ctrl_inw(INTC_ICR) | INTC_ICR_IRLM, INTC_ICR);
register_intc_controller(&intc_desc_irq);
break;
default:
Expand Down

0 comments on commit 2276a0a

Please sign in to comment.