Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: <[email protected]> Tested-by: Dave Martin <[email protected]> Signed-off-by: Russell King <[email protected]>
- Loading branch information