summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Walle <bernhard.walle@gmx.de>2008-07-07 01:06:08 +0200
committerSimon Horman <horms@verge.net.au>2008-07-07 17:02:24 +1000
commit82842420947678b886a4b9daed9756a86ce8eaee (patch)
tree1d8d0a154c793f99196c35d586a34f8ada0571fc
parentbbf307e0060da005c379c8ca3aa4b9b8c53cc12b (diff)
Fix compiler warning in kexec-x86.c
This patch fixes following compiler warning: kexec/arch/i386/kexec-x86.c:234: \ warning: missing initializer kexec/arch/i386/kexec-x86.c:234: \ warning: (near initialization for 'arches[5].arch') Signed-off-by: Bernhard Walle <bwalle@suse.de> Signed-off-by: Bernhard Walle <bernhard.walle@gmx.de> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/i386/kexec-x86.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexec/arch/i386/kexec-x86.c b/kexec/arch/i386/kexec-x86.c
index 31e4752..8c8ba7f 100644
--- a/kexec/arch/i386/kexec-x86.c
+++ b/kexec/arch/i386/kexec-x86.c
@@ -226,12 +226,12 @@ const struct arch_map_entry arches[] = {
/* For compatibility with older patches
* use KEXEC_ARCH_DEFAULT instead of KEXEC_ARCH_386 here.
*/
- { "i386", KEXEC_ARCH_DEFAULT },
- { "i486", KEXEC_ARCH_DEFAULT },
- { "i586", KEXEC_ARCH_DEFAULT },
- { "i686", KEXEC_ARCH_DEFAULT },
- { "x86_64", KEXEC_ARCH_X86_64 },
- { 0 },
+ { "i386", KEXEC_ARCH_DEFAULT },
+ { "i486", KEXEC_ARCH_DEFAULT },
+ { "i586", KEXEC_ARCH_DEFAULT },
+ { "i686", KEXEC_ARCH_DEFAULT },
+ { "x86_64", KEXEC_ARCH_X86_64 },
+ { 0, 0 },
};
int arch_compat_trampoline(struct kexec_info *info)