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)
commit13a5045d4ee5a244195062cbf2c651d1b4f22aa7
tree56c48e3304976258298b52c2ab95288f7e0ffd58
parentd65b4e98d7ea3038b767b70fe8be959b2913f16d
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