[PATCH] uml: remove syscall debugging
Eliminate an unused debug option. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
此提交包含在:
@@ -18,11 +18,7 @@ void handle_syscall(union uml_pt_regs *r)
|
||||
struct pt_regs *regs = container_of(r, struct pt_regs, regs);
|
||||
long result;
|
||||
int syscall;
|
||||
#ifdef UML_CONFIG_SYSCALL_DEBUG
|
||||
int index;
|
||||
|
||||
index = record_syscall_start(UPT_SYSCALL_NR(r));
|
||||
#endif
|
||||
syscall_trace(r, 0);
|
||||
|
||||
current->thread.nsyscalls++;
|
||||
@@ -44,7 +40,4 @@ void handle_syscall(union uml_pt_regs *r)
|
||||
REGS_SET_SYSCALL_RETURN(r->skas.regs, result);
|
||||
|
||||
syscall_trace(r, 1);
|
||||
#ifdef UML_CONFIG_SYSCALL_DEBUG
|
||||
record_syscall_end(index, result);
|
||||
#endif
|
||||
}
|
||||
|
新增問題並參考
封鎖使用者