diff options
author | Nicolas Pitre <nico@cam.org> | 2007-12-03 15:27:56 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:25:17 -0500 |
commit | 785d3cd286f0bf67d1bf692559b9ae5de12678f5 (patch) | |
tree | d533f0ab4792b1df11a0f862ec7246bb4455869c /arch/arm/mm | |
parent | d30a0c8bf99f0e6a7d8c57bd4524039585ffbced (diff) |
ARM kprobes: prevent some functions involved with kprobes from being probed
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 1e7b1ed304d8..28ad7ab1c0cd 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c | |||
@@ -239,7 +239,7 @@ out: | |||
239 | return fault; | 239 | return fault; |
240 | } | 240 | } |
241 | 241 | ||
242 | static int | 242 | static int __kprobes |
243 | do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | 243 | do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) |
244 | { | 244 | { |
245 | struct task_struct *tsk; | 245 | struct task_struct *tsk; |
@@ -338,7 +338,7 @@ no_context: | |||
338 | * interrupt or a critical region, and should only copy the information | 338 | * interrupt or a critical region, and should only copy the information |
339 | * from the master page table, nothing more. | 339 | * from the master page table, nothing more. |
340 | */ | 340 | */ |
341 | static int | 341 | static int __kprobes |
342 | do_translation_fault(unsigned long addr, unsigned int fsr, | 342 | do_translation_fault(unsigned long addr, unsigned int fsr, |
343 | struct pt_regs *regs) | 343 | struct pt_regs *regs) |
344 | { | 344 | { |