[PATCH] Kprobes: prevent possible race conditions ia64 changes
This patch contains the ia64 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>
This commit is contained in:
committed by
Linus Torvalds
parent
bb144a85c7
commit
1f7ad57b75
@@ -9,6 +9,7 @@
|
||||
#include <linux/mm.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/kprobes.h>
|
||||
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/processor.h>
|
||||
@@ -76,7 +77,7 @@ mapped_kernel_page_is_present (unsigned long address)
|
||||
return pte_present(pte);
|
||||
}
|
||||
|
||||
void
|
||||
void __kprobes
|
||||
ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs)
|
||||
{
|
||||
int signal = SIGSEGV, code = SEGV_MAPERR;
|
||||
|
Reference in New Issue
Block a user