]> err.no Git - linux-2.6/commit
[ARM] 4185/2: entry: introduce get_irqnr_preamble and arch_ret_to_user
authorDan Williams <dan.j.williams@intel.com>
Fri, 16 Feb 2007 21:16:32 +0000 (22:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 17 Feb 2007 15:04:29 +0000 (15:04 +0000)
commitf80dff9da07d81da16e3b842118d47b9febf9c01
treeea2da17c5af516c241b3ea3b4dd4fa47d9d86769
parent588ef7693574cfbcb228f48d5478c2b39a9b0c9f
[ARM] 4185/2: entry: introduce get_irqnr_preamble and arch_ret_to_user

get_irqnr_preamble allows machines to take some action before entering the
get_irqnr_and_base loop.  On iop we enable cp6 access.

arch_ret_to_user is added to the userspace return path to allow individual
architectures to take actions, like disabling coprocessor access, before
the final return to userspace.

Per Nicolas Pitre's note, there is no need to cp_wait on the return to user
as the latency to return is sufficient.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
30 files changed:
arch/arm/kernel/entry-armv.S
arch/arm/kernel/entry-common.S
include/asm-arm/arch-aaec2000/entry-macro.S
include/asm-arm/arch-at91rm9200/entry-macro.S
include/asm-arm/arch-cl7500/entry-macro.S
include/asm-arm/arch-clps711x/entry-macro.S
include/asm-arm/arch-ebsa110/entry-macro.S
include/asm-arm/arch-ebsa285/entry-macro.S
include/asm-arm/arch-ep93xx/entry-macro.S
include/asm-arm/arch-h720x/entry-macro.S
include/asm-arm/arch-imx/entry-macro.S
include/asm-arm/arch-integrator/entry-macro.S
include/asm-arm/arch-iop13xx/entry-macro.S
include/asm-arm/arch-iop32x/entry-macro.S
include/asm-arm/arch-iop33x/entry-macro.S
include/asm-arm/arch-ixp2000/entry-macro.S
include/asm-arm/arch-ixp23xx/entry-macro.S
include/asm-arm/arch-ixp4xx/entry-macro.S
include/asm-arm/arch-l7200/entry-macro.S
include/asm-arm/arch-lh7a40x/entry-macro.S
include/asm-arm/arch-netx/entry-macro.S
include/asm-arm/arch-omap/entry-macro.S
include/asm-arm/arch-pnx4008/entry-macro.S
include/asm-arm/arch-pxa/entry-macro.S
include/asm-arm/arch-realview/entry-macro.S
include/asm-arm/arch-rpc/entry-macro.S
include/asm-arm/arch-s3c2410/entry-macro.S
include/asm-arm/arch-sa1100/entry-macro.S
include/asm-arm/arch-shark/entry-macro.S
include/asm-arm/arch-versatile/entry-macro.S