lkml.org 
[lkml]   [2008]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] x86: trivial whitespace in kprobes.c
From
Date
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Ingo, you could/should probably fold this into Masami's kprobe
unification patch.

commit 17735e04f7f18bea4dcbe4daa31c34acac55b332
Author: Masami Hiramatsu <mhiramat@redhat.com>
Date: Wed Jan 9 13:30:50 2008 +0100

kprobes code for x86 unification

in current(ish) x86.git

arch/x86/kernel/kprobes.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c
index 53ba6a5..93aff49 100644
--- a/arch/x86/kernel/kprobes.c
+++ b/arch/x86/kernel/kprobes.c
@@ -583,8 +583,8 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
* When a retprobed function returns, this code saves registers and
* calls trampoline_handler() runs, which calls the kretprobe's handler.
*/
- void __kprobes kretprobe_trampoline_holder(void)
- {
+void __kprobes kretprobe_trampoline_holder(void)
+{
asm volatile (
".global kretprobe_trampoline\n"
"kretprobe_trampoline: \n"
@@ -670,7 +670,7 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
" popf\n"
#endif
" ret\n");
- }
+}

/*
* Called from kretprobe_trampoline
--
1.5.4.rc2.1164.g6451


\
 
 \ /
  Last update: 2008-01-10 09:39    [W:0.628 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site