diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-21 13:13:36 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-21 22:29:27 +0300 |
commit | a9ad21fed09cb95d34af9474be0831525b30c4c6 (patch) | |
tree | 1e92e37f401c08b6950d4df29e7c68ec0866d20e /arch/arm/include/asm/tlb.h | |
parent | 53399053eb505cf541b2405bd9d9bca5ecfb96fb (diff) | |
download | linux-a9ad21fed09cb95d34af9474be0831525b30c4c6.tar.xz |
ARM: Keep exit text/data around for SMP_ON_UP
When SMP_ON_UP is used and the spinlocks are inlined, we end up with
inline spinlocks in the exit code, with references from the SMP
alternatives section to the exit sections. This causes link time
errors. Avoid this by placing the exit sections in the init-discarded
region.
Cc: <stable@kernel.org>
Tested-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/tlb.h')
0 files changed, 0 insertions, 0 deletions