summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Damm <magnus@valinux.co.jp>2006-08-23 12:51:21 +0900
committerSimon Horman <horms@verge.net.au>2006-10-06 12:44:15 +0900
commit8251f7dd3fe02995f92dd0db6efdf34b0988e644 (patch)
tree5eb36701c200379026414f6d5fc7d88ca6228a9f
parent0c7eda010fe8122f340e470cfc8273a0975945a3 (diff)
x86: fix triple underscore typo
fix triple underscore typo in x86 and x86_64 code Signed-off-by: Magnus Damm <magnus@valinux.co.jp> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/i386/kexec-elf-x86.c2
-rw-r--r--kexec/arch/x86_64/kexec-elf-x86_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/i386/kexec-elf-x86.c b/kexec/arch/i386/kexec-elf-x86.c
index 6308f4e..73b1576 100644
--- a/kexec/arch/i386/kexec-elf-x86.c
+++ b/kexec/arch/i386/kexec-elf-x86.c
@@ -149,7 +149,7 @@ int elf_x86_load(int argc, char **argv, const char *buf, off_t len,
arg_style = ARG_STYLE_LINUX;
break;
case OPT_ARGS_NONE:
-#ifdef __i386___
+#ifdef __i386__
arg_style = ARG_STYLE_NONE;
#else
die("--args-none only works on arch i386\n");
diff --git a/kexec/arch/x86_64/kexec-elf-x86_64.c b/kexec/arch/x86_64/kexec-elf-x86_64.c
index e7272af..eff1fc9 100644
--- a/kexec/arch/x86_64/kexec-elf-x86_64.c
+++ b/kexec/arch/x86_64/kexec-elf-x86_64.c
@@ -149,7 +149,7 @@ int elf_x86_64_load(int argc, char **argv, const char *buf, off_t len,
arg_style = ARG_STYLE_LINUX;
break;
case OPT_ARGS_NONE:
-#ifdef __x86_64___
+#ifdef __x86_64__
arg_style = ARG_STYLE_NONE;
#else
die("--args-none only works on arch x86_64\n");