summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2014-10-27 18:28:05 +0100
committerIngo Molnar <mingo@kernel.org>2014-10-28 11:24:17 +0100
commita1a5831d295f34eceec3ba12c199c2c070e1aaed (patch)
tree9b651e3ffa5845de38b66c5b9f4d22d2bc3b6718
parentc4a7bba29bc6d9fcd5842d712b6b3d493b682b17 (diff)
downloadop-kernel-dev-a1a5831d295f34eceec3ba12c199c2c070e1aaed.zip
op-kernel-dev-a1a5831d295f34eceec3ba12c199c2c070e1aaed.tar.gz
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 <der.herr@hofr.at> Cc: Jan Beulich <JBeulich@suse.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/20141027172805.GA19760@opentech.at Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--arch/x86/kernel/asm-offsets_64.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c
index e7c798b..4f9359f 100644
--- a/arch/x86/kernel/asm-offsets_64.c
+++ b/arch/x86/kernel/asm-offsets_64.c
@@ -48,7 +48,6 @@ int main(void)
#define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry)
ENTRY(bx);
- ENTRY(bx);
ENTRY(cx);
ENTRY(dx);
ENTRY(sp);
OpenPOWER on IntegriCloud