diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-09-27 15:53:31 -0400 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2011-11-15 13:14:04 -0500 |
commit | bb3a4ebe63194a41b7d4420cbc26732e15aa8242 (patch) | |
tree | 7d0da639bfedbe74f2a8db7d57790ad46f1a0fd2 /arch/arm/mach-s5p64x0 | |
parent | c8be7acd63ed65aa034fc036bb2c7867f30561bd (diff) |
ARM: samsung: convert to MULTI_IRQ_HANDLER
Now that there is a generic IRQ handler for multiple VIC devices use it
for samsung to help building multi platform kernels.
Cc: Kukjin Kim <kgene.kim@samsung.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/mach-s5p64x0')
-rw-r--r-- | arch/arm/mach-s5p64x0/include/mach/entry-macro.S | 7 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/mach-smdk6440.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/mach-smdk6450.c | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-s5p64x0/include/mach/entry-macro.S b/arch/arm/mach-s5p64x0/include/mach/entry-macro.S index 10b62b4f8211..fbb246d0a3df 100644 --- a/arch/arm/mach-s5p64x0/include/mach/entry-macro.S +++ b/arch/arm/mach-s5p64x0/include/mach/entry-macro.S | |||
@@ -10,7 +10,8 @@ | |||
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <mach/map.h> | 13 | .macro disable_fiq |
14 | #include <plat/irqs.h> | 14 | .endm |
15 | 15 | ||
16 | #include <asm/entry-macro-vic2.S> | 16 | .macro arch_ret_to_user, tmp1, tmp2 |
17 | .endm | ||
diff --git a/arch/arm/mach-s5p64x0/mach-smdk6440.c b/arch/arm/mach-s5p64x0/mach-smdk6440.c index 4a1250cd1356..c272c3f7d6de 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6440.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <video/platform_lcd.h> | 28 | #include <video/platform_lcd.h> |
29 | 29 | ||
30 | #include <asm/hardware/vic.h> | ||
30 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
31 | #include <asm/mach/map.h> | 32 | #include <asm/mach/map.h> |
32 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
@@ -242,6 +243,7 @@ MACHINE_START(SMDK6440, "SMDK6440") | |||
242 | .atag_offset = 0x100, | 243 | .atag_offset = 0x100, |
243 | 244 | ||
244 | .init_irq = s5p6440_init_irq, | 245 | .init_irq = s5p6440_init_irq, |
246 | .handle_irq = vic_handle_irq, | ||
245 | .map_io = smdk6440_map_io, | 247 | .map_io = smdk6440_map_io, |
246 | .init_machine = smdk6440_machine_init, | 248 | .init_machine = smdk6440_machine_init, |
247 | .timer = &s5p_timer, | 249 | .timer = &s5p_timer, |
diff --git a/arch/arm/mach-s5p64x0/mach-smdk6450.c b/arch/arm/mach-s5p64x0/mach-smdk6450.c index 0ab129ecf009..7a4700959616 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6450.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6450.c | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <video/platform_lcd.h> | 28 | #include <video/platform_lcd.h> |
29 | 29 | ||
30 | #include <asm/hardware/vic.h> | ||
30 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
31 | #include <asm/mach/map.h> | 32 | #include <asm/mach/map.h> |
32 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
@@ -262,6 +263,7 @@ MACHINE_START(SMDK6450, "SMDK6450") | |||
262 | .atag_offset = 0x100, | 263 | .atag_offset = 0x100, |
263 | 264 | ||
264 | .init_irq = s5p6450_init_irq, | 265 | .init_irq = s5p6450_init_irq, |
266 | .handle_irq = vic_handle_irq, | ||
265 | .map_io = smdk6450_map_io, | 267 | .map_io = smdk6450_map_io, |
266 | .init_machine = smdk6450_machine_init, | 268 | .init_machine = smdk6450_machine_init, |
267 | .timer = &s5p_timer, | 269 | .timer = &s5p_timer, |