aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/traps.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-08 19:41:20 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:12:02 -0500
commit1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3 (patch)
tree2fcc0840b52218631020311d7b6d785e9a15db6a /arch/sparc64/kernel/traps.c
parent5b0c0572fcd6204675c5f7ddfa572b5017f817dd (diff)
[SPARC64]: Sun4v cross-call sending support.
Technically the hypervisor call supports sending in a list of all cpus to get the cross-call, but I only pass in one cpu at a time for now. The multi-cpu support is there, just ifdef'd out so it's easy to enable or delete it later. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/traps.c')
-rw-r--r--arch/sparc64/kernel/traps.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c
index 5417ff1b9345..ac171161e794 100644
--- a/arch/sparc64/kernel/traps.c
+++ b/arch/sparc64/kernel/traps.c
@@ -2377,7 +2377,11 @@ void __init trap_init(void)
2377 (TRAP_PER_CPU_NONRESUM_KBUF_PA != 2377 (TRAP_PER_CPU_NONRESUM_KBUF_PA !=
2378 offsetof(struct trap_per_cpu, nonresum_kernel_buf_pa)) || 2378 offsetof(struct trap_per_cpu, nonresum_kernel_buf_pa)) ||
2379 (TRAP_PER_CPU_FAULT_INFO != 2379 (TRAP_PER_CPU_FAULT_INFO !=
2380 offsetof(struct trap_per_cpu, fault_info))) 2380 offsetof(struct trap_per_cpu, fault_info)) ||
2381 (TRAP_PER_CPU_CPU_MONDO_BLOCK_PA !=
2382 offsetof(struct trap_per_cpu, cpu_mondo_block_pa)) ||
2383 (TRAP_PER_CPU_CPU_LIST_PA !=
2384 offsetof(struct trap_per_cpu, cpu_list_pa)))
2381 trap_per_cpu_offsets_are_bolixed_dave(); 2385 trap_per_cpu_offsets_are_bolixed_dave();
2382 2386
2383 /* Attach to the address space of init_task. On SMP we 2387 /* Attach to the address space of init_task. On SMP we