From bb3a4ebe63194a41b7d4420cbc26732e15aa8242 Mon Sep 17 00:00:00 2001 From: Jamie Iles Date: Tue, 27 Sep 2011 20:53:31 +0100 Subject: [PATCH] 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 Tested-by: Thomas Abraham Signed-off-by: Jamie Iles --- arch/arm/Kconfig | 3 ++ arch/arm/mach-s5p64x0/include/mach/entry-macro.S | 7 +++-- arch/arm/mach-s5p64x0/mach-smdk6440.c | 2 ++ arch/arm/mach-s5p64x0/mach-smdk6450.c | 2 ++ arch/arm/mach-s5pc100/include/mach/entry-macro.S | 25 ---------------- arch/arm/mach-s5pc100/mach-smdkc100.c | 2 ++ arch/arm/mach-s5pv210/include/mach/entry-macro.S | 37 ------------------------ arch/arm/mach-s5pv210/mach-aquila.c | 2 ++ arch/arm/mach-s5pv210/mach-goni.c | 2 ++ arch/arm/mach-s5pv210/mach-smdkc110.c | 2 ++ arch/arm/mach-s5pv210/mach-smdkv210.c | 2 ++ arch/arm/mach-s5pv210/mach-torbreck.c | 2 ++ 12 files changed, 23 insertions(+), 65 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f48219b..4364de5 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -803,6 +803,7 @@ config ARCH_S5P64X0 select HAVE_SCHED_CLOCK select HAVE_S3C2410_I2C if I2C select HAVE_S3C_RTC if RTC_CLASS + select MULTI_IRQ_HANDLER help Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440, SMDK6450. @@ -818,6 +819,7 @@ config ARCH_S5PC100 select HAVE_S3C2410_I2C if I2C select HAVE_S3C_RTC if RTC_CLASS select HAVE_S3C2410_WATCHDOG if WATCHDOG + select MULTI_IRQ_HANDLER help Samsung S5PC100 series based systems @@ -838,6 +840,7 @@ config ARCH_S5PV210 select HAVE_S3C_RTC if RTC_CLASS select HAVE_S3C2410_WATCHDOG if WATCHDOG select NEED_MACH_MEMORY_H + select MULTI_IRQ_HANDLER help Samsung S5PV210/S5PC110 series based systems diff --git a/arch/arm/mach-s5p64x0/include/mach/entry-macro.S b/arch/arm/mach-s5p64x0/include/mach/entry-macro.S index 10b62b4..fbb246d 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 @@ * published by the Free Software Foundation. */ -#include -#include + .macro disable_fiq + .endm -#include + .macro arch_ret_to_user, tmp1, tmp2 + .endm diff --git a/arch/arm/mach-s5p64x0/mach-smdk6440.c b/arch/arm/mach-s5p64x0/mach-smdk6440.c index 4a1250c..c272c3f 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6440.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c @@ -27,6 +27,7 @@ #include