All of lore.kernel.org
 help / color / mirror / Atom feed
* typo fix in arch/x86/kernel/asm_offset_64.c
@ 2014-10-27 17:28 Nicholas Mc Guire
  2014-10-28 11:16 ` [tip:x86/asm] x86/asm: Fix typo in arch/x86/kernel/ asm_offset_64.c tip-bot for Nicholas Mc Guire
  0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Mc Guire @ 2014-10-27 17:28 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Ingo Molnar, H. Peter Anvin, x86, linux-kernel


drope 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>
---
 arch/x86/kernel/asm-offsets_64.c |    1 -
 1 file changed, 1 deletion(-)

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);
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:x86/asm] x86/asm: Fix typo in arch/x86/kernel/ asm_offset_64.c
  2014-10-27 17:28 typo fix in arch/x86/kernel/asm_offset_64.c Nicholas Mc Guire
@ 2014-10-28 11:16 ` tip-bot for Nicholas Mc Guire
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Nicholas Mc Guire @ 2014-10-28 11:16 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: JBeulich, tglx, linux-kernel, der.herr, hpa, torvalds, luto,
	mingo

Commit-ID:  a1a5831d295f34eceec3ba12c199c2c070e1aaed
Gitweb:     http://git.kernel.org/tip/a1a5831d295f34eceec3ba12c199c2c070e1aaed
Author:     Nicholas Mc Guire <der.herr@hofr.at>
AuthorDate: Mon, 27 Oct 2014 18:28:05 +0100
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 28 Oct 2014 11:24:17 +0100

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>
---
 arch/x86/kernel/asm-offsets_64.c | 1 -
 1 file changed, 1 deletion(-)

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);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-28 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 17:28 typo fix in arch/x86/kernel/asm_offset_64.c Nicholas Mc Guire
2014-10-28 11:16 ` [tip:x86/asm] x86/asm: Fix typo in arch/x86/kernel/ asm_offset_64.c tip-bot for Nicholas Mc Guire

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.