]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: make arch_ret_to_user macro optional
authorRob Herring <rob.herring@calxeda.com>
Tue, 7 Feb 2012 15:28:22 +0000 (09:28 -0600)
committerRob Herring <rob.herring@calxeda.com>
Tue, 21 Feb 2012 23:04:10 +0000 (17:04 -0600)
commitaf3c49291b1080a64bfe5d8bee8d4205cdedb3f3
tree56c48e3304976258298b52c2ab95288f7e0ffd58
parentcc381c1506d2adfe03dd664d3d15899d18400db7
ARM: make arch_ret_to_user macro optional

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.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
arch/arm/Kconfig
arch/arm/kernel/entry-common.S