[PATCH] kprobes-prevent-possible-race-conditions-sparc64-changes fix
authorPrasanna S Panchamukhi <prasanna@in.ibm.com>
Tue, 6 Sep 2005 22:19:31 +0000 (15:19 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:58:00 +0000 (16:58 -0700)
This patch adds flags "ax" to .kprobe.text section.

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>
arch/sparc64/mm/ultra.S

index 78beff32b6f5ccd1f09fb704b289851050a43cb5..b2ee9b53227f5746b19351dc20ea873231831a58 100644 (file)
@@ -119,7 +119,7 @@ __spitfire_flush_tlb_mm_slow:
 #else
 #error unsupported PAGE_SIZE
 #endif
-       .section .kprobes.text
+       .section .kprobes.text, "ax"
        .align          32
        .globl          __flush_icache_page
 __flush_icache_page:   /* %o0 = phys_page */