Browse Source

[PATCH] kprobes-prevent-possible-race-conditions-sparc64-changes fix

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>
Prasanna S Panchamukhi 19 years ago
parent
commit
83005161c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/sparc64/mm/ultra.S

+ 1 - 1
arch/sparc64/mm/ultra.S

@@ -119,7 +119,7 @@ __spitfire_flush_tlb_mm_slow:
 #else
 #else
 #error unsupported PAGE_SIZE
 #error unsupported PAGE_SIZE
 #endif
 #endif
-	.section .kprobes.text
+	.section .kprobes.text, "ax"
 	.align		32
 	.align		32
 	.globl		__flush_icache_page
 	.globl		__flush_icache_page
 __flush_icache_page:	/* %o0 = phys_page */
 __flush_icache_page:	/* %o0 = phys_page */