[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
turn many #if $undefined_string into #ifdef $undefined_string to fix some warnings after -Wno-def was added to global CFLAGS Signed-off-by: Olaf Hering <olh@suse.de> 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
02b775696f
commit
44456d37b5
@@ -15,7 +15,7 @@
|
||||
void handle_syscall(union uml_pt_regs *regs)
|
||||
{
|
||||
long result;
|
||||
#if UML_CONFIG_SYSCALL_DEBUG
|
||||
#ifdef UML_CONFIG_SYSCALL_DEBUG
|
||||
int index;
|
||||
|
||||
index = record_syscall_start(UPT_SYSCALL_NR(regs));
|
||||
@@ -27,7 +27,7 @@ void handle_syscall(union uml_pt_regs *regs)
|
||||
REGS_SET_SYSCALL_RETURN(regs->skas.regs, result);
|
||||
|
||||
syscall_trace(regs, 1);
|
||||
#if UML_CONFIG_SYSCALL_DEBUG
|
||||
#ifdef UML_CONFIG_SYSCALL_DEBUG
|
||||
record_syscall_end(index, result);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user