diff options
author | Prasanna S Panchamukhi <prasanna@in.ibm.com> | 2005-09-06 18:19:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:58:00 -0400 |
commit | 05e14cb3bafabbf08216ab5566f3cd687eba9723 (patch) | |
tree | 6320a3e9193c474571401b2c279b1ee176c29c27 /arch/sparc64/mm/ultra.S | |
parent | 1f7ad57b75ab0fba27455c7344a6ab7aa6bd90c5 (diff) |
[PATCH] Kprobes: prevent possible race conditions sparc64 changes
This patch contains the sparc64 architecture specific changes to prevent the
possible race conditions.
Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sparc64/mm/ultra.S')
-rw-r--r-- | arch/sparc64/mm/ultra.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/mm/ultra.S b/arch/sparc64/mm/ultra.S index 8dfa825eca51..78beff32b6f5 100644 --- a/arch/sparc64/mm/ultra.S +++ b/arch/sparc64/mm/ultra.S | |||
@@ -119,6 +119,7 @@ __spitfire_flush_tlb_mm_slow: | |||
119 | #else | 119 | #else |
120 | #error unsupported PAGE_SIZE | 120 | #error unsupported PAGE_SIZE |
121 | #endif | 121 | #endif |
122 | .section .kprobes.text | ||
122 | .align 32 | 123 | .align 32 |
123 | .globl __flush_icache_page | 124 | .globl __flush_icache_page |
124 | __flush_icache_page: /* %o0 = phys_page */ | 125 | __flush_icache_page: /* %o0 = phys_page */ |
@@ -201,6 +202,7 @@ dflush4:stxa %g0, [%o4] ASI_DCACHE_TAG | |||
201 | nop | 202 | nop |
202 | #endif /* DCACHE_ALIASING_POSSIBLE */ | 203 | #endif /* DCACHE_ALIASING_POSSIBLE */ |
203 | 204 | ||
205 | .previous .text | ||
204 | .align 32 | 206 | .align 32 |
205 | __prefill_dtlb: | 207 | __prefill_dtlb: |
206 | rdpr %pstate, %g7 | 208 | rdpr %pstate, %g7 |