From: Nicholas Mc Guire Date: Mon, 27 Oct 2014 17:28:05 +0000 (+0100) Subject: x86/asm: Fix typo in arch/x86/kernel/asm_offset_64.c X-Git-Tag: v3.19-rc1~152^2~1 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=commitdiff_plain;h=a1a5831d295f34eceec3ba12c199c2c070e1aaed x86/asm: Fix typo in arch/x86/kernel/asm_offset_64.c Drop double entry for pt_regs_bx. This seems to be a typo - resulting in a double entry in the generated include/generated/asm-offsets.h, which is not necessary. Build-tested and booted on x86 64 box to make sure it was not doing any strange magic.... after all it was in the kernel in this form for almost 10 years. Signed-off-by: Nicholas Mc Guire Cc: Jan Beulich Cc: Andy Lutomirski Cc: Linus Torvalds Link: http://lkml.kernel.org/r/20141027172805.GA19760@opentech.at Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c index e7c798b354fa..4f9359f36bb7 100644 --- a/arch/x86/kernel/asm-offsets_64.c +++ b/arch/x86/kernel/asm-offsets_64.c @@ -47,7 +47,6 @@ int main(void) #endif #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry) - ENTRY(bx); ENTRY(bx); ENTRY(cx); ENTRY(dx);