diff options
author | Will Deacon <will.deacon@arm.com> | 2015-05-29 13:28:44 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-07-27 06:08:40 -0400 |
commit | 4b3dc9679cf779339d9049800803dfc3c83433d1 (patch) | |
tree | 8c04c26a614240f3142b7afafc071719fc3ea0f5 /arch/arm64/kernel/traps.c | |
parent | 52da443ec4d0a807b720527eb474f9c2878cd671 (diff) |
arm64: force CONFIG_SMP=y and remove redundant #ifdefs
Nobody seems to be producing !SMP systems anymore, so this is just
becoming a source of kernel bugs, particularly if people want to use
coherent DMA with non-shared pages.
This patch forces CONFIG_SMP=y for arm64, removing a modest amount of
code in the process.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/traps.c')
-rw-r--r-- | arch/arm64/kernel/traps.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c index 4db6a2574fec..1ea920cbd66d 100644 --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c | |||
@@ -189,11 +189,7 @@ void show_stack(struct task_struct *tsk, unsigned long *sp) | |||
189 | #else | 189 | #else |
190 | #define S_PREEMPT "" | 190 | #define S_PREEMPT "" |
191 | #endif | 191 | #endif |
192 | #ifdef CONFIG_SMP | ||
193 | #define S_SMP " SMP" | 192 | #define S_SMP " SMP" |
194 | #else | ||
195 | #define S_SMP "" | ||
196 | #endif | ||
197 | 193 | ||
198 | static int __die(const char *str, int err, struct thread_info *thread, | 194 | static int __die(const char *str, int err, struct thread_info *thread, |
199 | struct pt_regs *regs) | 195 | struct pt_regs *regs) |