diff options
Diffstat (limited to 'arch/sparc64/kernel/smp.c')
-rw-r--r-- | arch/sparc64/kernel/smp.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index 1f7ad8a69052..d2d3369e7b5d 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -123,6 +123,7 @@ extern void inherit_locked_prom_mappings(int save_p); | |||
123 | 123 | ||
124 | static inline void cpu_setup_percpu_base(unsigned long cpu_id) | 124 | static inline void cpu_setup_percpu_base(unsigned long cpu_id) |
125 | { | 125 | { |
126 | #error IMMU TSB usage must be fixed | ||
126 | __asm__ __volatile__("mov %0, %%g5\n\t" | 127 | __asm__ __volatile__("mov %0, %%g5\n\t" |
127 | "stxa %0, [%1] %2\n\t" | 128 | "stxa %0, [%1] %2\n\t" |
128 | "membar #Sync" | 129 | "membar #Sync" |
@@ -662,8 +663,6 @@ void smp_call_function_client(int irq, struct pt_regs *regs) | |||
662 | extern unsigned long xcall_flush_tlb_mm; | 663 | extern unsigned long xcall_flush_tlb_mm; |
663 | extern unsigned long xcall_flush_tlb_pending; | 664 | extern unsigned long xcall_flush_tlb_pending; |
664 | extern unsigned long xcall_flush_tlb_kernel_range; | 665 | extern unsigned long xcall_flush_tlb_kernel_range; |
665 | extern unsigned long xcall_flush_tlb_all_spitfire; | ||
666 | extern unsigned long xcall_flush_tlb_all_cheetah; | ||
667 | extern unsigned long xcall_report_regs; | 666 | extern unsigned long xcall_report_regs; |
668 | extern unsigned long xcall_receive_signal; | 667 | extern unsigned long xcall_receive_signal; |
669 | 668 | ||
@@ -794,15 +793,6 @@ void smp_report_regs(void) | |||
794 | smp_cross_call(&xcall_report_regs, 0, 0, 0); | 793 | smp_cross_call(&xcall_report_regs, 0, 0, 0); |
795 | } | 794 | } |
796 | 795 | ||
797 | void smp_flush_tlb_all(void) | ||
798 | { | ||
799 | if (tlb_type == spitfire) | ||
800 | smp_cross_call(&xcall_flush_tlb_all_spitfire, 0, 0, 0); | ||
801 | else | ||
802 | smp_cross_call(&xcall_flush_tlb_all_cheetah, 0, 0, 0); | ||
803 | __flush_tlb_all(); | ||
804 | } | ||
805 | |||
806 | /* We know that the window frames of the user have been flushed | 796 | /* We know that the window frames of the user have been flushed |
807 | * to the stack before we get here because all callers of us | 797 | * to the stack before we get here because all callers of us |
808 | * are flush_tlb_*() routines, and these run after flush_cache_*() | 798 | * are flush_tlb_*() routines, and these run after flush_cache_*() |