aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/traps.c')
-rw-r--r--arch/sparc64/kernel/traps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c
index 342da2164239..81ccd22e78d4 100644
--- a/arch/sparc64/kernel/traps.c
+++ b/arch/sparc64/kernel/traps.c
@@ -10,6 +10,7 @@
10 10
11#include <linux/module.h> 11#include <linux/module.h>
12#include <linux/sched.h> 12#include <linux/sched.h>
13#include <linux/linkage.h>
13#include <linux/kernel.h> 14#include <linux/kernel.h>
14#include <linux/signal.h> 15#include <linux/signal.h>
15#include <linux/smp.h> 16#include <linux/smp.h>
@@ -2496,7 +2497,7 @@ struct trap_per_cpu trap_block[NR_CPUS];
2496/* This can get invoked before sched_init() so play it super safe 2497/* This can get invoked before sched_init() so play it super safe
2497 * and use hard_smp_processor_id(). 2498 * and use hard_smp_processor_id().
2498 */ 2499 */
2499void init_cur_cpu_trap(struct thread_info *t) 2500void notrace init_cur_cpu_trap(struct thread_info *t)
2500{ 2501{
2501 int cpu = hard_smp_processor_id(); 2502 int cpu = hard_smp_processor_id();
2502 struct trap_per_cpu *p = &trap_block[cpu]; 2503 struct trap_per_cpu *p = &trap_block[cpu];