[PATCH 2/5] Fix compiler warning in kexec-x86.c
Bernhard Walle
bwalle at suse.de
Sun Jul 6 19:06:08 EDT 2008
From: Bernhard Walle <bernhard.walle at gmx.de>
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 at suse.de>
Signed-off-by: Bernhard Walle <bernhard.walle at gmx.de>
---
kexec/arch/i386/kexec-x86.c | 12 ++++++------
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)
--
1.5.6.1
More information about the kexec
mailing list