diff options
Diffstat (limited to 'arch/sparc/kernel/traps_64.c')
-rw-r--r-- | arch/sparc/kernel/traps_64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/kernel/traps_64.c index d809c4ebb48f..d073aabf65ed 100644 --- a/arch/sparc/kernel/traps_64.c +++ b/arch/sparc/kernel/traps_64.c | |||
@@ -2509,6 +2509,7 @@ void do_getpsr(struct pt_regs *regs) | |||
2509 | } | 2509 | } |
2510 | 2510 | ||
2511 | struct trap_per_cpu trap_block[NR_CPUS]; | 2511 | struct trap_per_cpu trap_block[NR_CPUS]; |
2512 | EXPORT_SYMBOL(trap_block); | ||
2512 | 2513 | ||
2513 | /* This can get invoked before sched_init() so play it super safe | 2514 | /* This can get invoked before sched_init() so play it super safe |
2514 | * and use hard_smp_processor_id(). | 2515 | * and use hard_smp_processor_id(). |
@@ -2592,7 +2593,9 @@ void __init trap_init(void) | |||
2592 | (TRAP_PER_CPU_RESUM_QMASK != | 2593 | (TRAP_PER_CPU_RESUM_QMASK != |
2593 | offsetof(struct trap_per_cpu, resum_qmask)) || | 2594 | offsetof(struct trap_per_cpu, resum_qmask)) || |
2594 | (TRAP_PER_CPU_NONRESUM_QMASK != | 2595 | (TRAP_PER_CPU_NONRESUM_QMASK != |
2595 | offsetof(struct trap_per_cpu, nonresum_qmask))) | 2596 | offsetof(struct trap_per_cpu, nonresum_qmask)) || |
2597 | (TRAP_PER_CPU_PER_CPU_BASE != | ||
2598 | offsetof(struct trap_per_cpu, __per_cpu_base))) | ||
2596 | trap_per_cpu_offsets_are_bolixed_dave(); | 2599 | trap_per_cpu_offsets_are_bolixed_dave(); |
2597 | 2600 | ||
2598 | if ((TSB_CONFIG_TSB != | 2601 | if ((TSB_CONFIG_TSB != |