diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-07-28 11:25:46 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-07-28 11:25:46 -0400 |
commit | 6124a4e430b64d1577438c8648c59e996d02e73e (patch) | |
tree | 49cfafad785d1c9e403a5b0d755298b9af2c260f /arch/arm/kernel | |
parent | 8e267f3da5f117d2f1316cf6ddf740f93f1c73aa (diff) | |
parent | 580975d7f48d7d047e22bb0f42adf7557801d8d4 (diff) |
Merge branch 'imx/dt' into next/dt
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/irq.c | 19 | ||||
-rw-r--r-- | arch/arm/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/arm/kernel/traps.c | 2 |
3 files changed, 16 insertions, 7 deletions
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index 0f928a131af8..de3dcab8610b 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -67,12 +67,12 @@ int arch_show_interrupts(struct seq_file *p, int prec) | |||
67 | } | 67 | } |
68 | 68 | ||
69 | /* | 69 | /* |
70 | * do_IRQ handles all hardware IRQ's. Decoded IRQs should not | 70 | * handle_IRQ handles all hardware IRQ's. Decoded IRQs should |
71 | * come via this function. Instead, they should provide their | 71 | * not come via this function. Instead, they should provide their |
72 | * own 'handler' | 72 | * own 'handler'. Used by platform code implementing C-based 1st |
73 | * level decoding. | ||
73 | */ | 74 | */ |
74 | asmlinkage void __exception_irq_entry | 75 | void handle_IRQ(unsigned int irq, struct pt_regs *regs) |
75 | asm_do_IRQ(unsigned int irq, struct pt_regs *regs) | ||
76 | { | 76 | { |
77 | struct pt_regs *old_regs = set_irq_regs(regs); | 77 | struct pt_regs *old_regs = set_irq_regs(regs); |
78 | 78 | ||
@@ -97,6 +97,15 @@ asm_do_IRQ(unsigned int irq, struct pt_regs *regs) | |||
97 | set_irq_regs(old_regs); | 97 | set_irq_regs(old_regs); |
98 | } | 98 | } |
99 | 99 | ||
100 | /* | ||
101 | * asm_do_IRQ is the interface to be used from assembly code. | ||
102 | */ | ||
103 | asmlinkage void __exception_irq_entry | ||
104 | asm_do_IRQ(unsigned int irq, struct pt_regs *regs) | ||
105 | { | ||
106 | handle_IRQ(irq, regs); | ||
107 | } | ||
108 | |||
100 | void set_irq_flags(unsigned int irq, unsigned int iflags) | 109 | void set_irq_flags(unsigned int irq, unsigned int iflags) |
101 | { | 110 | { |
102 | unsigned long clr = 0, set = IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN; | 111 | unsigned long clr = 0, set = IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN; |
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 167e3cbe1f2f..d88ff0230e82 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/clockchips.h> | 27 | #include <linux/clockchips.h> |
28 | #include <linux/completion.h> | 28 | #include <linux/completion.h> |
29 | 29 | ||
30 | #include <asm/atomic.h> | 30 | #include <linux/atomic.h> |
31 | #include <asm/cacheflush.h> | 31 | #include <asm/cacheflush.h> |
32 | #include <asm/cpu.h> | 32 | #include <asm/cpu.h> |
33 | #include <asm/cputype.h> | 33 | #include <asm/cputype.h> |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 2d3436e9f71f..bc9f9da782cb 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | 27 | ||
28 | #include <asm/atomic.h> | 28 | #include <linux/atomic.h> |
29 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
30 | #include <asm/system.h> | 30 | #include <asm/system.h> |
31 | #include <asm/unistd.h> | 31 | #include <asm/unistd.h> |