diff options
author | Olaf Hering <olh@suse.de> | 2005-07-27 14:45:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:08 -0400 |
commit | 44456d37b59d8e541936ed26d8b6e08d27e88ac1 (patch) | |
tree | 11ca6fa29b8cfb56ecef2d1f4f9dc2d9d71d2a2f /arch/x86_64/ia32 | |
parent | 02b775696fee75a04041d8d94db26a9462216d24 (diff) |
[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>
Diffstat (limited to 'arch/x86_64/ia32')
-rw-r--r-- | arch/x86_64/ia32/ia32_aout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/ia32/ia32_aout.c b/arch/x86_64/ia32/ia32_aout.c index c12edf5d97f0..3e6780fa0186 100644 --- a/arch/x86_64/ia32/ia32_aout.c +++ b/arch/x86_64/ia32/ia32_aout.c | |||
@@ -42,7 +42,7 @@ extern int ia32_setup_arg_pages(struct linux_binprm *bprm, | |||
42 | static int load_aout_binary(struct linux_binprm *, struct pt_regs * regs); | 42 | static int load_aout_binary(struct linux_binprm *, struct pt_regs * regs); |
43 | static int load_aout_library(struct file*); | 43 | static int load_aout_library(struct file*); |
44 | 44 | ||
45 | #if CORE_DUMP | 45 | #ifdef CORE_DUMP |
46 | static int aout_core_dump(long signr, struct pt_regs * regs, struct file *file); | 46 | static int aout_core_dump(long signr, struct pt_regs * regs, struct file *file); |
47 | 47 | ||
48 | /* | 48 | /* |
@@ -103,7 +103,7 @@ static struct linux_binfmt aout_format = { | |||
103 | .module = THIS_MODULE, | 103 | .module = THIS_MODULE, |
104 | .load_binary = load_aout_binary, | 104 | .load_binary = load_aout_binary, |
105 | .load_shlib = load_aout_library, | 105 | .load_shlib = load_aout_library, |
106 | #if CORE_DUMP | 106 | #ifdef CORE_DUMP |
107 | .core_dump = aout_core_dump, | 107 | .core_dump = aout_core_dump, |
108 | #endif | 108 | #endif |
109 | .min_coredump = PAGE_SIZE | 109 | .min_coredump = PAGE_SIZE |
@@ -120,7 +120,7 @@ static void set_brk(unsigned long start, unsigned long end) | |||
120 | up_write(¤t->mm->mmap_sem); | 120 | up_write(¤t->mm->mmap_sem); |
121 | } | 121 | } |
122 | 122 | ||
123 | #if CORE_DUMP | 123 | #ifdef CORE_DUMP |
124 | /* | 124 | /* |
125 | * These are the only things you should do on a core-file: use only these | 125 | * These are the only things you should do on a core-file: use only these |
126 | * macros to write out all the necessary info. | 126 | * macros to write out all the necessary info. |