diff options
Diffstat (limited to 'arch/sparc64/kernel/smp.c')
-rw-r--r-- | arch/sparc64/kernel/smp.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index 409dd71f2738..3aba47624df4 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <asm/pgtable.h> | 38 | #include <asm/pgtable.h> |
39 | #include <asm/oplib.h> | 39 | #include <asm/oplib.h> |
40 | #include <asm/uaccess.h> | 40 | #include <asm/uaccess.h> |
41 | #include <asm/timer.h> | ||
42 | #include <asm/starfire.h> | 41 | #include <asm/starfire.h> |
43 | #include <asm/tlb.h> | 42 | #include <asm/tlb.h> |
44 | #include <asm/sections.h> | 43 | #include <asm/sections.h> |
@@ -910,6 +909,9 @@ extern unsigned long xcall_flush_tlb_kernel_range; | |||
910 | extern unsigned long xcall_report_regs; | 909 | extern unsigned long xcall_report_regs; |
911 | extern unsigned long xcall_receive_signal; | 910 | extern unsigned long xcall_receive_signal; |
912 | extern unsigned long xcall_new_mmu_context_version; | 911 | extern unsigned long xcall_new_mmu_context_version; |
912 | #ifdef CONFIG_KGDB | ||
913 | extern unsigned long xcall_kgdb_capture; | ||
914 | #endif | ||
913 | 915 | ||
914 | #ifdef DCACHE_ALIASING_POSSIBLE | 916 | #ifdef DCACHE_ALIASING_POSSIBLE |
915 | extern unsigned long xcall_flush_dcache_page_cheetah; | 917 | extern unsigned long xcall_flush_dcache_page_cheetah; |
@@ -1079,6 +1081,13 @@ void smp_new_mmu_context_version(void) | |||
1079 | smp_cross_call(&xcall_new_mmu_context_version, 0, 0, 0); | 1081 | smp_cross_call(&xcall_new_mmu_context_version, 0, 0, 0); |
1080 | } | 1082 | } |
1081 | 1083 | ||
1084 | #ifdef CONFIG_KGDB | ||
1085 | void kgdb_roundup_cpus(unsigned long flags) | ||
1086 | { | ||
1087 | smp_cross_call(&xcall_kgdb_capture, 0, 0, 0); | ||
1088 | } | ||
1089 | #endif | ||
1090 | |||
1082 | void smp_report_regs(void) | 1091 | void smp_report_regs(void) |
1083 | { | 1092 | { |
1084 | smp_cross_call(&xcall_report_regs, 0, 0, 0); | 1093 | smp_cross_call(&xcall_report_regs, 0, 0, 0); |