entry-macro.S clean-up
Subsystems (25)
cover entry-macro.S clean-up
From: Rob Herring <[email protected]>
With the recent MULTI_IRQ_HANDLER support, many of the platform entry-macro.S files can be removed. This series removes empty isable_fiq and arch_ret_to_user macros from most platforms.
This leaves rpc, iop13xx, iop32x and iop33x with compile time difference from other platforms.
Rob
Rob Herring (3):
ARM: make arch_ret_to_user macro optional
ARM: make disable_fiq macro optional
ARM: remove empty disable_fiq and arch_ret_to_user macros
arch/arm/Kconfig | 6 ++++ arch/arm/kernel/entry-armv.S | 4 +++ arch/arm/kernel/entry-common.S | 8 +++++- arch/arm/mach-at91/include/mach/entry-macro.S | 6 ---- arch/arm/mach-bcmring/include/mach/entry-macro.S | 6 ---- arch/arm/mach-clps711x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-cns3xxx/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-davinci/include/mach/entry-macro.S | 6 ---- arch/arm/mach-dove/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ebsa110/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ep93xx/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-exynos/include/mach/entry-macro.S | 16 ----------- .../arm/mach-footbridge/include/mach/entry-macro.S | 6 ---- arch/arm/mach-gemini/include/mach/entry-macro.S | 6 ---- arch/arm/mach-h720x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-highbank/include/mach/entry-macro.S | 5 --- .../arm/mach-integrator/include/mach/entry-macro.S | 6 ---- arch/arm/mach-iop13xx/include/mach/entry-macro.S | 3 -- arch/arm/mach-iop32x/include/mach/entry-macro.S | 3 -- arch/arm/mach-iop33x/include/mach/entry-macro.S | 3 -- arch/arm/mach-ixp2000/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ixp23xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ixp4xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-kirkwood/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ks8695/include/mach/entry-macro.S | 6 ---- arch/arm/mach-lpc32xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mmp/include/mach/entry-macro.S | 6 ---- arch/arm/mach-msm/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mv78xx0/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mxs/include/mach/entry-macro.S | 6 ---- arch/arm/mach-netx/include/mach/entry-macro.S | 26 ------------------- arch/arm/mach-nomadik/include/mach/entry-macro.S | 13 --------- arch/arm/mach-omap1/include/mach/entry-macro.S | 6 ---- arch/arm/mach-omap2/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-orion5x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-picoxcell/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-pnx4008/include/mach/entry-macro.S | 6 ---- arch/arm/mach-prima2/include/mach/entry-macro.S | 7 ----- arch/arm/mach-pxa/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-realview/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-rpc/include/mach/entry-macro.S | 4 --- arch/arm/mach-s3c2410/include/mach/entry-macro.S | 8 ------ arch/arm/mach-s3c64xx/include/mach/entry-macro.S | 19 -------------- arch/arm/mach-s5p64x0/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-s5pc100/include/mach/entry-macro.S | 6 ---- arch/arm/mach-s5pv210/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-sa1100/include/mach/entry-macro.S | 6 ---- arch/arm/mach-shark/include/mach/entry-macro.S | 6 ---- arch/arm/mach-shmobile/include/mach/entry-macro.S | 22 ---------------- arch/arm/mach-spear3xx/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-spear6xx/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-tegra/include/mach/entry-macro.S | 20 -------------- arch/arm/mach-u300/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-ux500/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-versatile/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-vexpress/include/mach/entry-macro.S | 5 --- arch/arm/mach-vt8500/include/mach/entry-macro.S | 6 ---- arch/arm/mach-w90x900/include/mach/entry-macro.S | 8 ------ arch/arm/mach-zynq/include/mach/entry-macro.S | 27 -------------------- arch/arm/plat-mxc/include/mach/entry-macro.S | 16 ----------- 60 files changed, 17 insertions(+), 584 deletions(-) delete mode 100644 arch/arm/mach-cns3xxx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-ep93xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-exynos/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-highbank/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-netx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-nomadik/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-omap2/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-picoxcell/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-pxa/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-realview/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s3c64xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s5p64x0/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s5pv210/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-shmobile/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-spear3xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-spear6xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-tegra/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-u300/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-ux500/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-versatile/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-vexpress/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-zynq/include/mach/entry-macro.S delete mode 100644 arch/arm/plat-mxc/include/mach/entry-macro.S
Signature · 1 line
1.7.5.4
PATCH 1/3 ARM: make arch_ret_to_user macro optional
From: Rob Herring <[email protected]>
Only 3 platforms need arch_ret_to_user macro, so add ARCH_HAS_RET_TO_USER kconfig option and make iop13xx, iop32x and iop33x select it.
--- arch/arm/Kconfig | 6 ++++++ arch/arm/kernel/entry-common.S | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletions(-)
arch/arm/Kconfig +6 -0
@@ -43,6 +43,9 @@ config ARM config ARM_HAS_SG_CHAIN bool +config ARCH_HAS_RET_TO_USER + bool + config HAVE_PWM bool
@@ -473,6 +476,7 @@ config ARCH_H720X config ARCH_IOP13XX bool "IOP13xx-based" depends on MMU + select ARCH_HAS_RET_TO_USER select CPU_XSC3 select PLAT_IOP select PCI
@@ -485,6 +489,7 @@ config ARCH_IOP13XX config ARCH_IOP32X bool "IOP32x-based" depends on MMU + select ARCH_HAS_RET_TO_USER select CPU_XSCALE select PLAT_IOP select PCI
@@ -496,6 +501,7 @@ config ARCH_IOP32X config ARCH_IOP33X bool "IOP33x-based" depends on MMU + select ARCH_HAS_RET_TO_USER select CPU_XSCALE select PLAT_IOP select PCI
arch/arm/kernel/entry-common.S +7 -1
@@ -10,9 +10,15 @@ #include <asm/unistd.h> #include <asm/ftrace.h> -#include <mach/entry-macro.S> #include <asm/unwind.h> +#ifdef CONFIG_ARCH_HAS_RET_TO_USER +#include <mach/entry-macro.S> +#else + .macro arch_ret_to_user, tmp1, tmp2 + .endm +#endif + #include "entry-header.S"
Signature · 1 line
1.7.5.4
PATCH 1/3 ARM: make arch_ret_to_user macro optional
Quoted 4 lines · Rob Herring
From: Rob Herring <[email protected]>
Only 3 platforms need
arch_ret_to_usermacro, so addARCH_HAS_RET_TO_USERkconfig option and make iop13xx, iop32x and iop33x select it.
Please make it CONFIG_NEED_RET_TO_USER instead to more clearly indicate why it is there. See NEED_MACH_MEMORY_H for example.
Quoted 68 lines
Signed-off-by Rob Herring <[email protected]>--- arch/arm/Kconfig | 6 ++++++ arch/arm/kernel/entry-common.S | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletions(-)arch/arm/Kconfig +6
-0@@ -43,6 +43,9 @@ config ARM config ARM_HAS_SG_CHAIN bool +config ARCH_HAS_RET_TO_USER + bool + config HAVE_PWM bool@@ -473,6 +476,7 @@ config ARCH_H720X config ARCH_IOP13XX bool "IOP13xx-based" depends on MMU + select ARCH_HAS_RET_TO_USER select CPU_XSC3 select PLAT_IOP select PCI@@ -485,6 +489,7 @@ config ARCH_IOP13XX config ARCH_IOP32X bool "IOP32x-based" depends on MMU + select ARCH_HAS_RET_TO_USER select CPU_XSCALE select PLAT_IOP select PCI@@ -496,6 +501,7 @@ config ARCH_IOP32X config ARCH_IOP33X bool "IOP33x-based" depends on MMU + select ARCH_HAS_RET_TO_USER select CPU_XSCALE select PLAT_IOP select PCIarch/arm/kernel/entry-common.S +7
-1@@ -10,9 +10,15 @@ #include <asm/unistd.h> #include <asm/ftrace.h> -#include <mach/entry-macro.S> #include <asm/unwind.h> +#ifdef CONFIG_ARCH_HAS_RET_TO_USER +#include <mach/entry-macro.S> +#else + .macro arch_ret_to_user, tmp1, tmp2 + .endm +#endif + #include "entry-header.S"Signature · 1 line
1.7.5.4
PATCH 2/3 ARM: make disable_fiq macro optional
In reply to Rob HerringFrom: Rob Herring <[email protected]>
Only rpc uses disable_fiq, so make its use conditional on ARCH_RPC.
With this, entry-macro.S is no longer needed for platforms that select MULTI_IRQ_HANDLER and the include of it can be conditional.
--- arch/arm/kernel/entry-armv.S | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/kernel/entry-armv.S +4 -0
@@ -19,7 +19,9 @@ #include <asm/glue-df.h> #include <asm/glue-pf.h> #include <asm/vfpmacros.h> +#ifndef CONFIG_MULTI_IRQ_HANDLER #include <mach/entry-macro.S> +#endif #include <asm/thread_notify.h> #include <asm/unwind.h> #include <asm/unistd.h>
@@ -1101,7 +1103,9 @@ __stubs_start: * get out of that mode without clobbering one register. */ vector_fiq: +#ifdef CONFIG_ARCH_RPC disable_fiq +#endif subs pc, lr, #4 /*=============================================================================
Signature · 1 line
1.7.5.4
PATCH 2/3 ARM: make disable_fiq macro optional
Quoted 6 lines · Rob Herring
From: Rob Herring <[email protected]>
Only rpc uses
disable_fiq, so make its use conditional onARCH_RPC.With this,
entry-macro.Sis no longer needed for platforms that selectMULTI_IRQ_HANDLERand the include of it can be conditional.
Using set_fiq_handler() in the rpc boot code we could get rid of disable_fiq entirely.
Quoted 32 lines
Signed-off-by Rob Herring <[email protected]>--- arch/arm/kernel/entry-armv.S | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)arch/arm/kernel/entry-armv.S +4
-0@@ -19,7 +19,9 @@ #include <asm/glue-df.h> #include <asm/glue-pf.h> #include <asm/vfpmacros.h> +#ifndef CONFIG_MULTI_IRQ_HANDLER #include <mach/entry-macro.S> +#endif #include <asm/thread_notify.h> #include <asm/unwind.h> #include <asm/unistd.h>@@ -1101,7 +1103,9 @@ __stubs_start: * get out of that mode without clobbering one register. */ vector_fiq: +#ifdef CONFIG_ARCH_RPC disable_fiq +#endif subs pc, lr, #4 /*=============================================================================Signature · 1 line
1.7.5.4
PATCH 2/3 ARM: make disable_fiq macro optional
Nicolas,
Quoted 4 lines · Nicolas Pitre
Quoted 2 lines · Rob Herring
From: Rob Herring <[email protected]>
Quoted 8 lines
Quoted 4 lines
Only rpc uses
disable_fiq, so make its use conditional onARCH_RPC.With this,
entry-macro.Sis no longer needed for platforms that selectMULTI_IRQ_HANDLERand the include of it can be conditional.Using
set_fiq_handler()in the rpc boot code we could get rid ofdisable_fiqentirely.
That's already being done here:arch/arm/mach-rpc/dma.c:290: set_fiq_handler(fiqhandler_start,fiqhandler_length);
Can the macro just be deleted? Or a default handler needs to be setup earlier?
Rob
Quoted 33 lines
Quoted 33 lines
Signed-off-by Rob Herring <[email protected]>--- arch/arm/kernel/entry-armv.S | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)arch/arm/kernel/entry-armv.S +4
-0@@ -19,7 +19,9 @@ #include <asm/glue-df.h> #include <asm/glue-pf.h> #include <asm/vfpmacros.h> +#ifndef CONFIG_MULTI_IRQ_HANDLER #include <mach/entry-macro.S> +#endif #include <asm/thread_notify.h> #include <asm/unwind.h> #include <asm/unistd.h>@@ -1101,7 +1103,9 @@ __stubs_start: * get out of that mode without clobbering one register. */ vector_fiq: +#ifdef CONFIG_ARCH_RPC disable_fiq +#endif subs pc, lr, #4 /*=============================================================================Signature · 1 line
1.7.5.4
PATCH 2/3 ARM: make disable_fiq macro optional
Quoted 16 lines · Rob Herring
Nicolas,
Quoted 4 lines · Nicolas Pitre
Quoted 2 lines · Rob Herring
From: Rob Herring <[email protected]>
Quoted 8 lines
Quoted 4 lines
Only rpc uses
disable_fiq, so make its use conditional onARCH_RPC.With this,
entry-macro.Sis no longer needed for platforms that selectMULTI_IRQ_HANDLERand the include of it can be conditional.Using
set_fiq_handler()in the rpc boot code we could get rid ofdisable_fiqentirely.
Quoted 6 lines
That's already being done here:
arch/arm/mach-rpc/dma.c:290: set_fiq_handler(fiqhandler_start,fiqhandler_length);Can the macro just be deleted? Or a default handler needs to be setup earlier?
That's the handler installed by the RPC DMA code. Another one is needed by default for when that code is not active.
Nicolas
PATCH 2/3 ARM: make disable_fiq macro optional
Quoted 22 lines · Nicolas Pitre
Quoted 20 lines · Rob Herring
Nicolas,
Quoted 4 lines · Nicolas Pitre
Quoted 2 lines · Rob Herring
From: Rob Herring <[email protected]>
Quoted 8 lines
Quoted 4 lines
Only rpc uses
disable_fiq, so make its use conditional onARCH_RPC.With this,
entry-macro.Sis no longer needed for platforms that selectMULTI_IRQ_HANDLERand the include of it can be conditional.Using
set_fiq_handler()in the rpc boot code we could get rid ofdisable_fiqentirely.That's already being done here:
arch/arm/mach-rpc/dma.c:290: set_fiq_handler(fiqhandler_start,fiqhandler_length);
Quoted 5 lines
Quoted 2 lines
Can the macro just be deleted? Or a default handler needs to be setup earlier?
That's the handler installed by the RPC DMA code. Another one is needed by default for when that code is not active.
Wouldn't the fiq be masked then? rpc_init_irq masks out the interrupts in the same register as disable_fiq macro:
iomd_writeb(0, IOMD_FIQMASK);
Rob
PATCH 2/3 ARM: make disable_fiq macro optional
Quoted 4 lines · Rob Herring
Wouldn't the fiq be masked then?
rpc_init_irqmasks out the interrupts in the same register asdisable_fiqmacro:
iomd_writeb(0, IOMD_FIQMASK);
The point of the stuff in disable_fiq is to catch cases where the FIQMASK register hasn't been disabled, and we receive a spurious FIQ. What happens in that case (without code in disable_fiq) is that we will endlessly spin entering and re-entering the FIQ code.
No normal interrupts will be received, and no non-FIQ handler instructions will ever be executed.
Without this, we're 100% reliant on the FIQMASK register being correctly set.
I would suggest that other platforms which _can_ receive FIQs should implement the disable_fiq macro for safety against these kinds of silent lockups. It shouldn't be needed in the same way that printascii() shouldn't be needed.
PATCH 2/3 ARM: make disable_fiq macro optional
Quoted 14 lines · Russell King - ARM Linux
Quoted 4 lines · Rob Herring
Wouldn't the fiq be masked then?
rpc_init_irqmasks out the interrupts in the same register asdisable_fiqmacro:
iomd_writeb(0, IOMD_FIQMASK);The point of the stuff in
disable_fiqis to catch cases where the FIQMASK register hasn't been disabled, and we receive a spurious FIQ. What happens in that case (without code indisable_fiq) is that we will endlessly spin entering and re-entering the FIQ code.No normal interrupts will be received, and no non-FIQ handler instructions will ever be executed.
Quoted 7 lines
Without this, we're 100% reliant on the FIQMASK register being correctly set.
I would suggest that other platforms which _can_ receive FIQs should implement the
disable_fiqmacro for safety against these kinds of silent lockups. It shouldn't be needed in the same way thatprintascii()shouldn't be needed.
Couldn't this be fixed generically by masking FIQ in the SPSR rather than the source?
Nico suggested adding a default handler with set_fiq_handler which would do this same write to IOMD_FIQMASK. Or I can leave the ifdef for RPC around disable_fiq. Guidance with what you would like to see here would be helpful.
Rob
PATCH 2/3 ARM: make disable_fiq macro optional
Quoted 23 lines · Rob Herring
Quoted 14 lines · Russell King - ARM Linux
Quoted 4 lines · Rob Herring
Wouldn't the fiq be masked then?
rpc_init_irqmasks out the interrupts in the same register asdisable_fiqmacro:
iomd_writeb(0, IOMD_FIQMASK);The point of the stuff in
disable_fiqis to catch cases where the FIQMASK register hasn't been disabled, and we receive a spurious FIQ. What happens in that case (without code indisable_fiq) is that we will endlessly spin entering and re-entering the FIQ code.No normal interrupts will be received, and no non-FIQ handler instructions will ever be executed.
Quoted 7 lines
Without this, we're 100% reliant on the FIQMASK register being correctly set.
I would suggest that other platforms which _can_ receive FIQs should implement the
disable_fiqmacro for safety against these kinds of silent lockups. It shouldn't be needed in the same way thatprintascii()shouldn't be needed.
Quoted 7 lines
Couldn't this be fixed generically by masking FIQ in the SPSR rather than the source?
Nico suggested adding a default handler with
set_fiq_handlerwhich would do this same write toIOMD_FIQMASK. Or I can leave the ifdef for RPC arounddisable_fiq. Guidance with what you would like to see here would be helpful.
Using set_fiq_handler() we could achieve the same result at run time instead of compile time, by using the same code as found in the macro. Given that this is done early enough during boot, the same result should be achieved.
Nicolas
PATCH 2/3 ARM: make disable_fiq macro optional
In reply to Rob HerringQuoted 18 lines · Rob Herring
Quoted 17 lines · Russell King - ARM Linux
Quoted 4 lines · Rob Herring
Wouldn't the fiq be masked then?
rpc_init_irqmasks out the interrupts in the same register asdisable_fiqmacro:
iomd_writeb(0, IOMD_FIQMASK);The point of the stuff in
disable_fiqis to catch cases where the FIQMASK register hasn't been disabled, and we receive a spurious FIQ. What happens in that case (without code indisable_fiq) is that we will endlessly spin entering and re-entering the FIQ code.No normal interrupts will be received, and no non-FIQ handler instructions will ever be executed.
Without this, we're 100% reliant on the FIQMASK register being correctly set.
Quoted 7 lines
Quoted 4 lines
I would suggest that other platforms which _can_ receive FIQs should implement the
disable_fiqmacro for safety against these kinds of silent lockups. It shouldn't be needed in the same way thatprintascii()shouldn't be needed.Couldn't this be fixed generically by masking FIQ in the SPSR rather than the source?
Yes, but that then makes it a lot harder to actually enable FIQs when you want them re-enabled (eg, because you want FIQs to work.)
The problem is, the FIQ state will be cached in any local_irq_save() call, and restored on any local_irq_restore() call. That's rather a big problem if your FIQ is being used as a software-driven DMA.
What we _could_ do is make the non-CONFIG_FIQ handler disable the FIQ state - basically, if CONFIG_FIQ is off, we assume that no one will _ever_ make use of FIQ.
Otherwise, if FIQ is enabled, then we require the platform to provide a disable_fiq macro.
Quoted 4 lines
Nico suggested adding a default handler with
set_fiq_handlerwhich would do this same write toIOMD_FIQMASK. Or I can leave the ifdef for RPC arounddisable_fiq. Guidance with what you would like to see here would be helpful.
I don't think so - you either end up leaving a window where we disable FIQs in the CPSR (which could get propagated to other threads) or you leave a window where an errant FIQ could lock the system.
PATCH 2/3 ARM: make disable_fiq macro optional
Quoted 9 lines · Russell King - ARM Linux
Quoted 4 lines · Rob Herring
Nico suggested adding a default handler with
set_fiq_handlerwhich would do this same write toIOMD_FIQMASK. Or I can leave the ifdef for RPC arounddisable_fiq. Guidance with what you would like to see here would be helpful.I don't think so - you either end up leaving a window where we disable FIQs in the CPSR (which could get propagated to other threads) or you leave a window where an errant FIQ could lock the system.
I was thinking about hooking a subarch specific disable_fiq handler using set_fiq_handler() from the mdesc->init_early callback. This is done after the vector page is initialized, and if I'm not mistaken, IRQs and FIQs are still disabled at that point.
Nicolas
PATCH 3/3 ARM: remove empty disable_fiq and arch_ret_to_user macros
In reply to Rob HerringFrom: Rob Herring <[email protected]>
Now that most platforms don't need disable_fiq and arch_ret_to_user macros, we can remove the empty macros or empty entry-macro.S files.
--- arch/arm/mach-at91/include/mach/entry-macro.S | 6 ---- arch/arm/mach-bcmring/include/mach/entry-macro.S | 6 ---- arch/arm/mach-clps711x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-cns3xxx/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-davinci/include/mach/entry-macro.S | 6 ---- arch/arm/mach-dove/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ebsa110/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ep93xx/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-exynos/include/mach/entry-macro.S | 16 ----------- .../arm/mach-footbridge/include/mach/entry-macro.S | 6 ---- arch/arm/mach-gemini/include/mach/entry-macro.S | 6 ---- arch/arm/mach-h720x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-highbank/include/mach/entry-macro.S | 5 --- .../arm/mach-integrator/include/mach/entry-macro.S | 6 ---- arch/arm/mach-iop13xx/include/mach/entry-macro.S | 3 -- arch/arm/mach-iop32x/include/mach/entry-macro.S | 3 -- arch/arm/mach-iop33x/include/mach/entry-macro.S | 3 -- arch/arm/mach-ixp2000/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ixp23xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ixp4xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-kirkwood/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ks8695/include/mach/entry-macro.S | 6 ---- arch/arm/mach-lpc32xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mmp/include/mach/entry-macro.S | 6 ---- arch/arm/mach-msm/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mv78xx0/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mxs/include/mach/entry-macro.S | 6 ---- arch/arm/mach-netx/include/mach/entry-macro.S | 26 ------------------- arch/arm/mach-nomadik/include/mach/entry-macro.S | 13 --------- arch/arm/mach-omap1/include/mach/entry-macro.S | 6 ---- arch/arm/mach-omap2/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-orion5x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-picoxcell/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-pnx4008/include/mach/entry-macro.S | 6 ---- arch/arm/mach-prima2/include/mach/entry-macro.S | 7 ----- arch/arm/mach-pxa/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-realview/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-rpc/include/mach/entry-macro.S | 4 --- arch/arm/mach-s3c2410/include/mach/entry-macro.S | 8 ------ arch/arm/mach-s3c64xx/include/mach/entry-macro.S | 19 -------------- arch/arm/mach-s5p64x0/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-s5pc100/include/mach/entry-macro.S | 6 ---- arch/arm/mach-s5pv210/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-sa1100/include/mach/entry-macro.S | 6 ---- arch/arm/mach-shark/include/mach/entry-macro.S | 6 ---- arch/arm/mach-shmobile/include/mach/entry-macro.S | 22 ---------------- arch/arm/mach-spear3xx/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-spear6xx/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-tegra/include/mach/entry-macro.S | 20 -------------- arch/arm/mach-u300/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-ux500/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-versatile/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-vexpress/include/mach/entry-macro.S | 5 --- arch/arm/mach-vt8500/include/mach/entry-macro.S | 6 ---- arch/arm/mach-w90x900/include/mach/entry-macro.S | 8 ------ arch/arm/mach-zynq/include/mach/entry-macro.S | 27 -------------------- arch/arm/plat-mxc/include/mach/entry-macro.S | 16 ----------- 57 files changed, 0 insertions(+), 583 deletions(-) delete mode 100644 arch/arm/mach-cns3xxx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-ep93xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-exynos/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-highbank/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-netx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-nomadik/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-omap2/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-picoxcell/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-pxa/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-realview/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s3c64xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s5p64x0/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s5pv210/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-shmobile/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-spear3xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-spear6xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-tegra/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-u300/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-ux500/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-versatile/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-vexpress/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-zynq/include/mach/entry-macro.S delete mode 100644 arch/arm/plat-mxc/include/mach/entry-macro.S
arch/arm/mach-at91/include/mach/entry-macro.S +0 -6
@@ -13,17 +13,11 @@ #include <mach/hardware.h> #include <mach/at91_aic.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =at91_aic_base @ base virtual address of AIC peripheral ldr \base, [\base] .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, [\base, #AT91_AIC_IVR] @ read IRQ vector register: de-asserts nIRQ to processor (and clears interrupt) ldr \irqstat, [\base, #AT91_AIC_ISR] @ read interrupt source number
arch/arm/mach-bcmring/include/mach/entry-macro.S +0 -6
@@ -21,9 +21,6 @@ #include <mach/hardware.h> #include <mach/csp/mm_io.h> - .macro disable_fiq - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \base, =(MM_IO_BASE_INTC0) ldr \irqstat, [\base, #0] @ get status
@@ -77,6 +74,3 @@ .macro get_irqnr_preamble, base, tmp .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-clps711x/include/mach/entry-macro.S +0 -6
@@ -10,15 +10,9 @@ #include <mach/hardware.h> #include <asm/hardware/clps7111.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - #if (INTSR2 - INTSR1) != (INTMR2 - INTMR1) #error INTSR stride != INTMR stride #endif
arch/arm/mach-cns3xxx/include/mach/entry-macro.S deleted +0 -15
@@ -1,15 +0,0 @@ -/* - * Low-level IRQ helper macros for Cavium Networks platforms - * - * Copyright 2008 Cavium Networks - * - * This file is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, Version 2, as - * published by the Free Software Foundation. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-davinci/include/mach/entry-macro.S +0 -6
@@ -11,17 +11,11 @@ #include <mach/io.h> #include <mach/irqs.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =davinci_intc_base ldr \base, [\base] .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp #if defined(CONFIG_AINTC) && defined(CONFIG_CP_INTC) ldr \tmp, =davinci_intc_type
arch/arm/mach-dove/include/mach/entry-macro.S +0 -6
@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IRQ_VIRT_BASE .endm
arch/arm/mach-ebsa110/include/mach/entry-macro.S +0 -6
@@ -12,16 +12,10 @@ #define IRQ_STAT 0xff000000 /* read */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #IRQ_STAT .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, stat, base, tmp ldrb \stat, [\base] @ get interrupts mov \irqnr, #0
arch/arm/mach-ep93xx/include/mach/entry-macro.S deleted +0 -17
@@ -1,17 +0,0 @@ -/* - * arch/arm/mach-ep93xx/include/mach/entry-macro.S - * IRQ demultiplexing for EP93xx - * - * Copyright (C) 2006 Lennert Buytenhek <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or (at - * your option) any later version. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-exynos/include/mach/entry-macro.S deleted +0 -16
@@ -1,16 +0,0 @@ -/* arch/arm/mach-exynos4/include/mach/entry-macro.S - * - * Cloned from arch/arm/mach-realview/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for EXYNOS4 platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-footbridge/include/mach/entry-macro.S +0 -6
@@ -14,9 +14,6 @@ .equ dc21285_high, ARMCSR_BASE & 0xff000000 .equ dc21285_low, ARMCSR_BASE & 0x00ffffff - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #dc21285_high .if dc21285_low
@@ -24,9 +21,6 @@ .endif .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, [\base, #0x180] @ get interrupts
arch/arm/mach-gemini/include/mach/entry-macro.S +0 -6
@@ -12,15 +12,9 @@ #define IRQ_STATUS 0x14 - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, =IO_ADDRESS(GEMINI_INTERRUPT_BASE + IRQ_STATUS) ldr \irqnr, [\irqstat]
arch/arm/mach-h720x/include/mach/entry-macro.S +0 -6
@@ -8,15 +8,9 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp #if defined (CONFIG_CPU_H7201) || defined (CONFIG_CPU_H7202) @ we could use the id register on H7202, but this is not
arch/arm/mach-highbank/include/mach/entry-macro.S deleted +0 -5
@@ -1,5 +0,0 @@ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-integrator/include/mach/entry-macro.S +0 -6
@@ -11,15 +11,9 @@ #include <mach/platform.h> #include <mach/irqs.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp /* FIXME: should not be using soo many LDRs here */ ldr \base, =IO_ADDRESS(INTEGRATOR_IC_BASE)
arch/arm/mach-iop13xx/include/mach/entry-macro.S +0 -3
@@ -16,9 +16,6 @@ * Place - Suite 330, Boston, MA 02111-1307 USA. * */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c15, c1, 0 orr \tmp, \tmp, #(1 << 6)
arch/arm/mach-iop32x/include/mach/entry-macro.S +0 -3
@@ -9,9 +9,6 @@ */ #include <mach/iop32x.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c15, c1, 0 orr \tmp, \tmp, #(1 << 6)
arch/arm/mach-iop33x/include/mach/entry-macro.S +0 -3
@@ -9,9 +9,6 @@ */ #include <mach/iop33x.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c15, c1, 0 orr \tmp, \tmp, #(1 << 6)
arch/arm/mach-ixp2000/include/mach/entry-macro.S +0 -6
@@ -9,15 +9,9 @@ */ #include <mach/irqs.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \irqnr, #0x0 @clear out irqnr as default
arch/arm/mach-ixp23xx/include/mach/entry-macro.S +0 -6
@@ -2,15 +2,9 @@ * arch/arm/mach-ixp23xx/include/mach/entry-macro.S */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, =(IXP23XX_INTC_VIRT + IXP23XX_INTR_IRQ_ENC_ST_OFFSET) ldr \irqnr, [\irqnr] @ get interrupt number
arch/arm/mach-ixp4xx/include/mach/entry-macro.S +0 -6
@@ -9,15 +9,9 @@ */ #include <mach/hardware.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, =(IXP4XX_INTC_BASE_VIRT+IXP4XX_ICIP_OFFSET) ldr \irqstat, [\irqstat] @ get interrupts
arch/arm/mach-kirkwood/include/mach/entry-macro.S +0 -6
@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IRQ_VIRT_BASE .endm
arch/arm/mach-ks8695/include/mach/entry-macro.S +0 -6
@@ -14,16 +14,10 @@ #include <mach/hardware.h> #include <mach/regs-irq.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =KS8695_IRQ_VA @ Base address of interrupt controller .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, [\base, #KS8695_INTMS] @ Mask Status register
arch/arm/mach-lpc32xx/include/mach/entry-macro.S +0 -6
@@ -21,16 +21,10 @@ #define LPC32XX_INTC_MASKED_STATUS_OFS 0x8 - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IO_ADDRESS(LPC32XX_MIC_BASE) .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - /* * Return IRQ number in irqnr. Also return processor Z flag status in CPSR * as set if an interrupt is pending.
arch/arm/mach-mmp/include/mach/entry-macro.S +0 -6
@@ -8,12 +8,6 @@ #include <mach/regs-icu.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c0, c0, 0 @ CPUID and \tmp, \tmp, #0xff00
arch/arm/mach-msm/include/mach/entry-macro.S +0 -6
@@ -16,12 +16,6 @@ * */ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - #if !defined(CONFIG_ARM_GIC) #include <mach/msm_iomap.h>
arch/arm/mach-mv78xx0/include/mach/entry-macro.S +0 -6
@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IRQ_VIRT_BASE .endm
arch/arm/mach-mxs/include/mach/entry-macro.S +0 -6
@@ -23,9 +23,6 @@ #define MXS_ICOLL_VBASE MXS_IO_ADDRESS(MXS_ICOLL_BASE_ADDR) #define HW_ICOLL_STAT_OFFSET 0x70 - .macro disable_fiq - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, [\base, #HW_ICOLL_STAT_OFFSET] cmp \irqnr, #0x7F
@@ -36,6 +33,3 @@ .macro get_irqnr_preamble, base, tmp ldr \base, =MXS_ICOLL_VBASE .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-netx/include/mach/entry-macro.S deleted +0 -26
@@ -1,26 +0,0 @@ -/* - * arch/arm/mach-netx/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for Hilscher netX based platforms - * - * Copyright (C) 2005 Sascha Hauer <[email protected]>, Pengutronix - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-nomadik/include/mach/entry-macro.S deleted +0 -13
@@ -1,13 +0,0 @@ -/* - * Low-level IRQ helper macros for Nomadik platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-omap1/include/mach/entry-macro.S +0 -6
@@ -14,15 +14,9 @@ #include <mach/irqs.h> #include <asm/hardware/gic.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \base, =OMAP1_IO_ADDRESS(OMAP_IH1_BASE) ldr \irqnr, [\base, #IRQ_ITR_REG_OFFSET]
arch/arm/mach-omap2/include/mach/entry-macro.S deleted +0 -18
@@ -1,18 +0,0 @@ -/* - * arch/arm/plat-omap/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for OMAP-based platforms - * - * Copyright (C) 2009 Texas Instruments - * Added OMAP4 support - Santosh Shilimkar <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-orion5x/include/mach/entry-macro.S +0 -6
@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =MAIN_IRQ_CAUSE .endm
arch/arm/mach-picoxcell/include/mach/entry-macro.S deleted +0 -16
@@ -1,16 +0,0 @@ -/* - * entry-macro.S - * - * Copyright (c) 2011 Picochip Ltd., Jamie Iles - * - * Low-level IRQ helper macros for picoXcell platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-pnx4008/include/mach/entry-macro.S +0 -6
@@ -25,15 +25,9 @@ #define SIC1_BASE_INT 32 #define SIC2_BASE_INT 64 - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp /* decode the MIC interrupt numbers */ ldr \base, =IO_ADDRESS(PNX4008_INTCTRLMIC_BASE)
arch/arm/mach-prima2/include/mach/entry-macro.S +0 -7
@@ -20,10 +20,3 @@ cmp \irqnr, #0x40 @ the irq num can't be larger than 0x3f movges \irqnr, #0 .endm - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm -
arch/arm/mach-pxa/include/mach/entry-macro.S deleted +0 -15
@@ -1,15 +0,0 @@ -/* - * arch/arm/mach-pxa/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for PXA-based platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-realview/include/mach/entry-macro.S deleted +0 -16
@@ -1,16 +0,0 @@ -/* - * arch/arm/mach-realview/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for RealView platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm -
arch/arm/mach-rpc/include/mach/entry-macro.S +0 -4
@@ -10,7 +10,3 @@ orr \base, \base, #ioc_base_low .endif .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm -
arch/arm/mach-s3c2410/include/mach/entry-macro.S +0 -8
@@ -25,9 +25,6 @@ .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \base, #S3C24XX_VA_IRQ
@@ -71,8 +68,3 @@ @@ exit here, Z flag unset if IRQ .endm - - /* currently don't need an disable_fiq macro */ - - .macro disable_fiq - .endm
arch/arm/mach-s3c64xx/include/mach/entry-macro.S deleted +0 -19
@@ -1,19 +0,0 @@ -/* arch/arm/mach-s3c6400/include/mach/entry-macro.S - * - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * http://armlinux.simtec.co.uk/ - * Ben Dooks <[email protected]> - * - * Low-level IRQ helper macros for the Samsung S3C64XX series - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-s5p64x0/include/mach/entry-macro.S deleted +0 -17
@@ -1,17 +0,0 @@ -/* linux/arch/arm/mach-s5p64x0/include/mach/entry-macro.S - * - * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * Low-level IRQ helper macros for the Samsung S5P64X0 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-s5pc100/include/mach/entry-macro.S +0 -6
@@ -12,14 +12,8 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp .endm
arch/arm/mach-s5pv210/include/mach/entry-macro.S deleted +0 -17
@@ -1,17 +0,0 @@ -/* linux/arch/arm/mach-s5pv210/include/mach/entry-macro.S - * - * Copyright (c) 2010 Samsung Electronics Co., Ltd. - * http://www.samsung.com/ - * - * Low-level IRQ helper macros for the Samsung S5PV210 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-sa1100/include/mach/entry-macro.S +0 -6
@@ -8,17 +8,11 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #0xfa000000 @ ICIP = 0xfa050000 add \base, \base, #0x00050000 .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, [\base] @ get irqs ldr \irqnr, [\base, #4] @ ICMR = 0xfa050004
arch/arm/mach-shark/include/mach/entry-macro.S +0 -6
@@ -7,16 +7,10 @@ * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #0xe0000000 .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \irqstat, #0x0C
arch/arm/mach-shmobile/include/mach/entry-macro.S deleted +0 -22
@@ -1,22 +0,0 @@ -/* - * Copyright (C) 2010 Paul Mundt - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-spear3xx/include/mach/entry-macro.S deleted +0 -18
@@ -1,18 +0,0 @@ -/* - * arch/arm/mach-spear3xx/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for SPEAr3xx machine family - * - * Copyright (C) 2009 ST Microelectronics - * Viresh Kumar<[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-spear6xx/include/mach/entry-macro.S deleted +0 -18
@@ -1,18 +0,0 @@ -/* - * arch/arm/mach-spear6xx/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for SPEAr6xx machine family - * - * Copyright (C) 2009 ST Microelectronics - * Rajeev Kumar<[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-tegra/include/mach/entry-macro.S deleted +0 -20
@@ -1,20 +0,0 @@ -/* arch/arm/mach-tegra/include/mach/entry-macro.S - * - * Copyright (C) 2009 Palm, Inc. - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-u300/include/mach/entry-macro.S deleted +0 -16
@@ -1,16 +0,0 @@ -/* - * - * arch-arm/mach-u300/include/mach/entry-macro.S - * - * - * Copyright (C) 2006-2009 ST-Ericsson AB - * License terms: GNU General Public License (GPL) version 2 - * Low-level IRQ helper macros for ST-Ericsson U300 - * Author: Linus Walleij <[email protected]> - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-ux500/include/mach/entry-macro.S deleted +0 -18
@@ -1,18 +0,0 @@ -/* - * Low-level IRQ helper macros for U8500 platforms - * - * Copyright (C) 2009 ST-Ericsson. - * - * This file is a copy of ARM Realview platform. - * -just satisfied checkpatch script. - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-versatile/include/mach/entry-macro.S deleted +0 -15
@@ -1,15 +0,0 @@ -/* - * arch/arm/mach-versatile/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for Versatile platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-vexpress/include/mach/entry-macro.S deleted +0 -5
@@ -1,5 +0,0 @@ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/mach-vt8500/include/mach/entry-macro.S +0 -6
@@ -8,18 +8,12 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp @ physical 0xd8140000 is virtual 0xf8140000 mov \base, #0xf8000000 orr \base, \base, #0x00140000 .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, [\base] cmp \irqnr, #63 @ may be false positive, check interrupt status
arch/arm/mach-w90x900/include/mach/entry-macro.S +0 -8
@@ -15,9 +15,6 @@ .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \base, #AIC_BA
@@ -27,8 +24,3 @@ cmp \irqnr, #0 .endm - - /* currently don't need an disable_fiq macro */ - - .macro disable_fiq - .endm
arch/arm/mach-zynq/include/mach/entry-macro.S deleted +0 -27
@@ -1,27 +0,0 @@ -/* - * arch/arm/mach-zynq/include/mach/entry-macro.S - * - * Low-level IRQ helper macros - * - * Copyright (C) 2011 Xilinx - * - * based on arch/plat-mxc/include/mach/entry-macro.S - * - * Copyright (C) 2007 Lennert Buytenhek <[email protected]> - * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
arch/arm/plat-mxc/include/mach/entry-macro.S deleted +0 -16
@@ -1,16 +0,0 @@ -/* - * Copyright (C) 2007 Lennert Buytenhek <[email protected]> - * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. - */ - -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm
Signature · 1 line
1.7.5.4
PATCH 3/3 ARM: remove empty disable_fiq and arch_ret_to_user macros
Hi Rob,
Quoted 7 lines · Rob Herring
From: Rob Herring <[email protected]>
Now that most platforms don't need
disable_fiqandarch_ret_to_usermacros, we can remove the empty macros or emptyentry-macro.Sfiles.Signed-off-by Rob Herring <[email protected]>---
[...]
Quoted 1 line
?arch/arm/mach-picoxcell/include/mach/entry-macro.S | ? 16 -----------
I'm unable to test at the moment, but this series looks good to me. For the picoxcell part:
Jamie
PATCH 3/3 ARM: remove empty disable_fiq and arch_ret_to_user macros
In reply to Rob HerringQuoted 6 lines · Rob Herring
From: Rob Herring <[email protected]>
Now that most platforms don't need
disable_fiqandarch_ret_to_usermacros, we can remove the empty macros or emptyentry-macro.Sfiles.Signed-off-by Rob Herring <[email protected]>
Excellent!
Quoted 1,264 lines
--- arch/arm/mach-at91/include/mach/entry-macro.S | 6 ---- arch/arm/mach-bcmring/include/mach/entry-macro.S | 6 ---- arch/arm/mach-clps711x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-cns3xxx/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-davinci/include/mach/entry-macro.S | 6 ---- arch/arm/mach-dove/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ebsa110/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ep93xx/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-exynos/include/mach/entry-macro.S | 16 ----------- .../arm/mach-footbridge/include/mach/entry-macro.S | 6 ---- arch/arm/mach-gemini/include/mach/entry-macro.S | 6 ---- arch/arm/mach-h720x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-highbank/include/mach/entry-macro.S | 5 --- .../arm/mach-integrator/include/mach/entry-macro.S | 6 ---- arch/arm/mach-iop13xx/include/mach/entry-macro.S | 3 -- arch/arm/mach-iop32x/include/mach/entry-macro.S | 3 -- arch/arm/mach-iop33x/include/mach/entry-macro.S | 3 -- arch/arm/mach-ixp2000/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ixp23xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ixp4xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-kirkwood/include/mach/entry-macro.S | 6 ---- arch/arm/mach-ks8695/include/mach/entry-macro.S | 6 ---- arch/arm/mach-lpc32xx/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mmp/include/mach/entry-macro.S | 6 ---- arch/arm/mach-msm/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mv78xx0/include/mach/entry-macro.S | 6 ---- arch/arm/mach-mxs/include/mach/entry-macro.S | 6 ---- arch/arm/mach-netx/include/mach/entry-macro.S | 26 ------------------- arch/arm/mach-nomadik/include/mach/entry-macro.S | 13 --------- arch/arm/mach-omap1/include/mach/entry-macro.S | 6 ---- arch/arm/mach-omap2/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-orion5x/include/mach/entry-macro.S | 6 ---- arch/arm/mach-picoxcell/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-pnx4008/include/mach/entry-macro.S | 6 ---- arch/arm/mach-prima2/include/mach/entry-macro.S | 7 ----- arch/arm/mach-pxa/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-realview/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-rpc/include/mach/entry-macro.S | 4 --- arch/arm/mach-s3c2410/include/mach/entry-macro.S | 8 ------ arch/arm/mach-s3c64xx/include/mach/entry-macro.S | 19 -------------- arch/arm/mach-s5p64x0/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-s5pc100/include/mach/entry-macro.S | 6 ---- arch/arm/mach-s5pv210/include/mach/entry-macro.S | 17 ------------ arch/arm/mach-sa1100/include/mach/entry-macro.S | 6 ---- arch/arm/mach-shark/include/mach/entry-macro.S | 6 ---- arch/arm/mach-shmobile/include/mach/entry-macro.S | 22 ---------------- arch/arm/mach-spear3xx/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-spear6xx/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-tegra/include/mach/entry-macro.S | 20 -------------- arch/arm/mach-u300/include/mach/entry-macro.S | 16 ----------- arch/arm/mach-ux500/include/mach/entry-macro.S | 18 ------------- arch/arm/mach-versatile/include/mach/entry-macro.S | 15 ----------- arch/arm/mach-vexpress/include/mach/entry-macro.S | 5 --- arch/arm/mach-vt8500/include/mach/entry-macro.S | 6 ---- arch/arm/mach-w90x900/include/mach/entry-macro.S | 8 ------ arch/arm/mach-zynq/include/mach/entry-macro.S | 27 -------------------- arch/arm/plat-mxc/include/mach/entry-macro.S | 16 ----------- 57 files changed, 0 insertions(+), 583 deletions(-) delete mode 100644 arch/arm/mach-cns3xxx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-ep93xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-exynos/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-highbank/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-netx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-nomadik/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-omap2/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-picoxcell/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-pxa/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-realview/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s3c64xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s5p64x0/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-s5pv210/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-shmobile/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-spear3xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-spear6xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-tegra/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-u300/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-ux500/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-versatile/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-vexpress/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-zynq/include/mach/entry-macro.S delete mode 100644 arch/arm/plat-mxc/include/mach/entry-macro.Sarch/arm/mach-at91/include/mach/entry-macro.S +0
-6@@ -13,17 +13,11 @@ #include <mach/hardware.h> #include <mach/at91_aic.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =at91_aic_base @ base virtual address of AIC peripheral ldr \base, [\base] .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, [\base, #AT91_AIC_IVR] @ read IRQ vector register: de-asserts nIRQ to processor (and clears interrupt) ldr \irqstat, [\base, #AT91_AIC_ISR] @ read interrupt source numberarch/arm/mach-bcmring/include/mach/entry-macro.S +0
-6@@ -21,9 +21,6 @@ #include <mach/hardware.h> #include <mach/csp/mm_io.h> - .macro disable_fiq - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \base, =(MM_IO_BASE_INTC0) ldr \irqstat, [\base, #0] @ get status@@ -77,6 +74,3 @@ .macro get_irqnr_preamble, base, tmp .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-clps711x/include/mach/entry-macro.S +0
-6@@ -10,15 +10,9 @@ #include <mach/hardware.h> #include <asm/hardware/clps7111.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - #if (INTSR2 - INTSR1) != (INTMR2 - INTMR1) #error INTSR stride != INTMR stride #endifarch/arm/mach-cns3xxx/include/mach/entry-macro.S deleted +0
-15@@ -1,15 +0,0 @@ -/* - * Low-level IRQ helper macros for Cavium Networks platforms - * - * Copyright 2008 Cavium Networks - * - * This file is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, Version 2, as - * published by the Free Software Foundation. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-davinci/include/mach/entry-macro.S +0
-6@@ -11,17 +11,11 @@ #include <mach/io.h> #include <mach/irqs.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =davinci_intc_base ldr \base, [\base] .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp #if defined(CONFIG_AINTC) && defined(CONFIG_CP_INTC) ldr \tmp, =davinci_intc_typearch/arm/mach-dove/include/mach/entry-macro.S +0
-6@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IRQ_VIRT_BASE .endmarch/arm/mach-ebsa110/include/mach/entry-macro.S +0
-6@@ -12,16 +12,10 @@ #define IRQ_STAT 0xff000000 /* read */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #IRQ_STAT .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, stat, base, tmp ldrb \stat, [\base] @ get interrupts mov \irqnr, #0arch/arm/mach-ep93xx/include/mach/entry-macro.S deleted +0
-17@@ -1,17 +0,0 @@ -/* - * arch/arm/mach-ep93xx/include/mach/entry-macro.S - * IRQ demultiplexing for EP93xx - * - * Copyright (C) 2006 Lennert Buytenhek <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or (at - * your option) any later version. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-exynos/include/mach/entry-macro.S deleted +0
-16@@ -1,16 +0,0 @@ -/* arch/arm/mach-exynos4/include/mach/entry-macro.S - * - * Cloned from arch/arm/mach-realview/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for EXYNOS4 platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-footbridge/include/mach/entry-macro.S +0
-6@@ -14,9 +14,6 @@ .equ dc21285_high, ARMCSR_BASE & 0xff000000 .equ dc21285_low, ARMCSR_BASE & 0x00ffffff - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #dc21285_high .if dc21285_low@@ -24,9 +21,6 @@ .endif .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, [\base, #0x180] @ get interruptsarch/arm/mach-gemini/include/mach/entry-macro.S +0
-6@@ -12,15 +12,9 @@ #define IRQ_STATUS 0x14 - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, =IO_ADDRESS(GEMINI_INTERRUPT_BASE + IRQ_STATUS) ldr \irqnr, [\irqstat]arch/arm/mach-h720x/include/mach/entry-macro.S +0
-6@@ -8,15 +8,9 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp #if defined (CONFIG_CPU_H7201) || defined (CONFIG_CPU_H7202) @ we could use the id register on H7202, but this is notarch/arm/mach-highbank/include/mach/entry-macro.S deleted +0
-5@@ -1,5 +0,0 @@ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-integrator/include/mach/entry-macro.S +0
-6@@ -11,15 +11,9 @@ #include <mach/platform.h> #include <mach/irqs.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp /* FIXME: should not be using soo many LDRs here */ ldr \base, =IO_ADDRESS(INTEGRATOR_IC_BASE)arch/arm/mach-iop13xx/include/mach/entry-macro.S +0
-3@@ -16,9 +16,6 @@ * Place - Suite 330, Boston, MA 02111-1307 USA. * */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c15, c1, 0 orr \tmp, \tmp, #(1 << 6)arch/arm/mach-iop32x/include/mach/entry-macro.S +0
-3@@ -9,9 +9,6 @@ */ #include <mach/iop32x.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c15, c1, 0 orr \tmp, \tmp, #(1 << 6)arch/arm/mach-iop33x/include/mach/entry-macro.S +0
-3@@ -9,9 +9,6 @@ */ #include <mach/iop33x.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c15, c1, 0 orr \tmp, \tmp, #(1 << 6)arch/arm/mach-ixp2000/include/mach/entry-macro.S +0
-6@@ -9,15 +9,9 @@ */ #include <mach/irqs.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \irqnr, #0x0 @clear out irqnr as defaultarch/arm/mach-ixp23xx/include/mach/entry-macro.S +0
-6@@ -2,15 +2,9 @@ * arch/arm/mach-ixp23xx/include/mach/entry-macro.S */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, =(IXP23XX_INTC_VIRT + IXP23XX_INTR_IRQ_ENC_ST_OFFSET) ldr \irqnr, [\irqnr] @ get interrupt numberarch/arm/mach-ixp4xx/include/mach/entry-macro.S +0
-6@@ -9,15 +9,9 @@ */ #include <mach/hardware.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, =(IXP4XX_INTC_BASE_VIRT+IXP4XX_ICIP_OFFSET) ldr \irqstat, [\irqstat] @ get interruptsarch/arm/mach-kirkwood/include/mach/entry-macro.S +0
-6@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IRQ_VIRT_BASE .endmarch/arm/mach-ks8695/include/mach/entry-macro.S +0
-6@@ -14,16 +14,10 @@ #include <mach/hardware.h> #include <mach/regs-irq.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =KS8695_IRQ_VA @ Base address of interrupt controller .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, [\base, #KS8695_INTMS] @ Mask Status registerarch/arm/mach-lpc32xx/include/mach/entry-macro.S +0
-6@@ -21,16 +21,10 @@ #define LPC32XX_INTC_MASKED_STATUS_OFS 0x8 - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IO_ADDRESS(LPC32XX_MIC_BASE) .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - /* * Return IRQ number in irqnr. Also return processor Z flag status in CPSR * as set if an interrupt is pending.arch/arm/mach-mmp/include/mach/entry-macro.S +0
-6@@ -8,12 +8,6 @@ #include <mach/regs-icu.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp mrc p15, 0, \tmp, c0, c0, 0 @ CPUID and \tmp, \tmp, #0xff00arch/arm/mach-msm/include/mach/entry-macro.S +0
-6@@ -16,12 +16,6 @@ * */ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - #if !defined(CONFIG_ARM_GIC) #include <mach/msm_iomap.h>arch/arm/mach-mv78xx0/include/mach/entry-macro.S +0
-6@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =IRQ_VIRT_BASE .endmarch/arm/mach-mxs/include/mach/entry-macro.S +0
-6@@ -23,9 +23,6 @@ #define MXS_ICOLL_VBASE MXS_IO_ADDRESS(MXS_ICOLL_BASE_ADDR) #define HW_ICOLL_STAT_OFFSET 0x70 - .macro disable_fiq - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, [\base, #HW_ICOLL_STAT_OFFSET] cmp \irqnr, #0x7F@@ -36,6 +33,3 @@ .macro get_irqnr_preamble, base, tmp ldr \base, =MXS_ICOLL_VBASE .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-netx/include/mach/entry-macro.S deleted +0
-26@@ -1,26 +0,0 @@ -/* - * arch/arm/mach-netx/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for Hilscher netX based platforms - * - * Copyright (C) 2005 Sascha Hauer <[email protected]>, Pengutronix - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-nomadik/include/mach/entry-macro.S deleted +0
-13@@ -1,13 +0,0 @@ -/* - * Low-level IRQ helper macros for Nomadik platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-omap1/include/mach/entry-macro.S +0
-6@@ -14,15 +14,9 @@ #include <mach/irqs.h> #include <asm/hardware/gic.h> - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \base, =OMAP1_IO_ADDRESS(OMAP_IH1_BASE) ldr \irqnr, [\base, #IRQ_ITR_REG_OFFSET]arch/arm/mach-omap2/include/mach/entry-macro.S deleted +0
-18@@ -1,18 +0,0 @@ -/* - * arch/arm/plat-omap/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for OMAP-based platforms - * - * Copyright (C) 2009 Texas Instruments - * Added OMAP4 support - Santosh Shilimkar <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-orion5x/include/mach/entry-macro.S +0
-6@@ -10,12 +10,6 @@ #include <mach/bridge-regs.h> - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_preamble, base, tmp ldr \base, =MAIN_IRQ_CAUSE .endmarch/arm/mach-picoxcell/include/mach/entry-macro.S deleted +0
-16@@ -1,16 +0,0 @@ -/* - * entry-macro.S - * - * Copyright (c) 2011 Picochip Ltd., Jamie Iles - * - * Low-level IRQ helper macros for picoXcell platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-pnx4008/include/mach/entry-macro.S +0
-6@@ -25,15 +25,9 @@ #define SIC1_BASE_INT 32 #define SIC2_BASE_INT 64 - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp /* decode the MIC interrupt numbers */ ldr \base, =IO_ADDRESS(PNX4008_INTCTRLMIC_BASE)arch/arm/mach-prima2/include/mach/entry-macro.S +0
-7@@ -20,10 +20,3 @@ cmp \irqnr, #0x40 @ the irq num can't be larger than 0x3f movges \irqnr, #0 .endm - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm -arch/arm/mach-pxa/include/mach/entry-macro.S deleted +0
-15@@ -1,15 +0,0 @@ -/* - * arch/arm/mach-pxa/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for PXA-based platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-realview/include/mach/entry-macro.S deleted +0
-16@@ -1,16 +0,0 @@ -/* - * arch/arm/mach-realview/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for RealView platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm -arch/arm/mach-rpc/include/mach/entry-macro.S +0
-4@@ -10,7 +10,3 @@ orr \base, \base, #ioc_base_low .endif .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endm -arch/arm/mach-s3c2410/include/mach/entry-macro.S +0
-8@@ -25,9 +25,6 @@ .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \base, #S3C24XX_VA_IRQ@@ -71,8 +68,3 @@ @@ exit here, Z flag unset if IRQ .endm - - /* currently don't need an disable_fiq macro */ - - .macro disable_fiq - .endmarch/arm/mach-s3c64xx/include/mach/entry-macro.S deleted +0
-19@@ -1,19 +0,0 @@ -/* arch/arm/mach-s3c6400/include/mach/entry-macro.S - * - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * http://armlinux.simtec.co.uk/ - * Ben Dooks <[email protected]> - * - * Low-level IRQ helper macros for the Samsung S3C64XX series - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-s5p64x0/include/mach/entry-macro.S deleted +0
-17@@ -1,17 +0,0 @@ -/* linux/arch/arm/mach-s5p64x0/include/mach/entry-macro.S - * - * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * Low-level IRQ helper macros for the Samsung S5P64X0 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-s5pc100/include/mach/entry-macro.S +0
-6@@ -12,14 +12,8 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp .endmarch/arm/mach-s5pv210/include/mach/entry-macro.S deleted +0
-17@@ -1,17 +0,0 @@ -/* linux/arch/arm/mach-s5pv210/include/mach/entry-macro.S - * - * Copyright (c) 2010 Samsung Electronics Co., Ltd. - * http://www.samsung.com/ - * - * Low-level IRQ helper macros for the Samsung S5PV210 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-sa1100/include/mach/entry-macro.S +0
-6@@ -8,17 +8,11 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #0xfa000000 @ ICIP = 0xfa050000 add \base, \base, #0x00050000 .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqstat, [\base] @ get irqs ldr \irqnr, [\base, #4] @ ICMR = 0xfa050004arch/arm/mach-shark/include/mach/entry-macro.S +0
-6@@ -7,16 +7,10 @@ * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp mov \base, #0xe0000000 .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \irqstat, #0x0Carch/arm/mach-shmobile/include/mach/entry-macro.S deleted +0
-22@@ -1,22 +0,0 @@ -/* - * Copyright (C) 2010 Paul Mundt - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-spear3xx/include/mach/entry-macro.S deleted +0
-18@@ -1,18 +0,0 @@ -/* - * arch/arm/mach-spear3xx/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for SPEAr3xx machine family - * - * Copyright (C) 2009 ST Microelectronics - * Viresh Kumar<[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-spear6xx/include/mach/entry-macro.S deleted +0
-18@@ -1,18 +0,0 @@ -/* - * arch/arm/mach-spear6xx/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for SPEAr6xx machine family - * - * Copyright (C) 2009 ST Microelectronics - * Rajeev Kumar<[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-tegra/include/mach/entry-macro.S deleted +0
-20@@ -1,20 +0,0 @@ -/* arch/arm/mach-tegra/include/mach/entry-macro.S - * - * Copyright (C) 2009 Palm, Inc. - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-u300/include/mach/entry-macro.S deleted +0
-16@@ -1,16 +0,0 @@ -/* - * - * arch-arm/mach-u300/include/mach/entry-macro.S - * - * - * Copyright (C) 2006-2009 ST-Ericsson AB - * License terms: GNU General Public License (GPL) version 2 - * Low-level IRQ helper macros for ST-Ericsson U300 - * Author: Linus Walleij <[email protected]> - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-ux500/include/mach/entry-macro.S deleted +0
-18@@ -1,18 +0,0 @@ -/* - * Low-level IRQ helper macros for U8500 platforms - * - * Copyright (C) 2009 ST-Ericsson. - * - * This file is a copy of ARM Realview platform. - * -just satisfied checkpatch script. - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-versatile/include/mach/entry-macro.S deleted +0
-15@@ -1,15 +0,0 @@ -/* - * arch/arm/mach-versatile/include/mach/entry-macro.S - * - * Low-level IRQ helper macros for Versatile platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-vexpress/include/mach/entry-macro.S deleted +0
-5@@ -1,5 +0,0 @@ - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/mach-vt8500/include/mach/entry-macro.S +0
-6@@ -8,18 +8,12 @@ * warranty of any kind, whether express or implied. */ - .macro disable_fiq - .endm - .macro get_irqnr_preamble, base, tmp @ physical 0xd8140000 is virtual 0xf8140000 mov \base, #0xf8000000 orr \base, \base, #0x00140000 .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp ldr \irqnr, [\base] cmp \irqnr, #63 @ may be false positive, check interrupt statusarch/arm/mach-w90x900/include/mach/entry-macro.S +0
-8@@ -15,9 +15,6 @@ .macro get_irqnr_preamble, base, tmp .endm - .macro arch_ret_to_user, tmp1, tmp2 - .endm - .macro get_irqnr_and_base, irqnr, irqstat, base, tmp mov \base, #AIC_BA@@ -27,8 +24,3 @@ cmp \irqnr, #0 .endm - - /* currently don't need an disable_fiq macro */ - - .macro disable_fiq - .endmarch/arm/mach-zynq/include/mach/entry-macro.S deleted +0
-27@@ -1,27 +0,0 @@ -/* - * arch/arm/mach-zynq/include/mach/entry-macro.S - * - * Low-level IRQ helper macros - * - * Copyright (C) 2011 Xilinx - * - * based on arch/plat-mxc/include/mach/entry-macro.S - * - * Copyright (C) 2007 Lennert Buytenhek <[email protected]> - * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmarch/arm/plat-mxc/include/mach/entry-macro.S deleted +0
-16@@ -1,16 +0,0 @@ -/* - * Copyright (C) 2007 Lennert Buytenhek <[email protected]> - * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. - */ - -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - - .macro disable_fiq - .endm - - .macro arch_ret_to_user, tmp1, tmp2 - .endmSignature · 1 line
1.7.5.4
Tony Lindgren
maintainerPATCH 3/3 ARM: remove empty disable_fiq and arch_ret_to_user macros
In reply to Rob HerringQuoted 6 lines · Rob Herring
From: Rob Herring <[email protected]>
Now that most platforms don't need
disable_fiqandarch_ret_to_usermacros, we can remove the empty macros or emptyentry-macro.Sfiles.Signed-off-by Rob Herring <[email protected]>
For omaps:
PATCH 3/3 ARM: remove empty disable_fiq and arch_ret_to_user macros
In reply to Rob HerringQuoted 6 lines · Rob Herring
From: Rob Herring <[email protected]>
Now that most platforms don't need
disable_fiqandarch_ret_to_usermacros, we can remove the empty macros or emptyentry-macro.Sfiles.Signed-off-by Rob Herring <[email protected]>
Good riddance!
Yours,
Linus Walleij
PATCH 3/3 ARM: remove empty disable_fiq and arch_ret_to_user macros
In reply to Rob HerringOn 02/06/2012 10:03 PM, Rob Herring :
Quoted 8 lines
From: Rob Herring <[email protected]>
Now that most platforms don't need
disable_fiqandarch_ret_to_usermacros, we can remove the empty macros or emptyentry-macro.Sfiles.Signed-off-by Rob Herring <[email protected]>--- arch/arm/mach-at91/include/mach/entry-macro.S | 6 ----
For AT91:
[..]
Best regards,
Signature · 1 line
Nicolas Ferre
cover entry-macro.S clean-up
In reply to Rob HerringQuoted 16 lines · Rob Herring
From: Rob Herring <[email protected]>
With the recent
MULTI_IRQ_HANDLERsupport, many of the platformentry-macro.Sfiles can be removed. This series removes emptyisable_fiqandarch_ret_to_usermacros from most platforms.This leaves rpc, iop13xx, iop32x and iop33x with compile time difference from other platforms.
Rob
Rob Herring (3):
ARM: makearch_ret_to_usermacro optional
ARM: makedisable_fiqmacro optional
ARM: remove emptydisable_fiqandarch_ret_to_usermacros
<snip>
Quoted 1 line
arch/arm/mach-ep93xx/include/mach/entry-macro.S | 17 ------------
Build tested only, but looks correct to me. For ep93xx: