linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Partially revert patch that encloses asm-offset.h numbers in brackets
@ 2010-10-25 14:02 David Howells
  2010-10-25 14:34 ` Jan Beulich
  2010-10-25 14:54 ` David Howells
  0 siblings, 2 replies; 18+ messages in thread
From: David Howells @ 2010-10-25 14:02 UTC (permalink / raw)
  To: torvalds, akpm
  Cc: linux-arch, Alexander van Heukelum, linux-kernel, Jan Beulich,
	Ingo Molnar, H. Peter Anvin

Partially revert patch:

	commit 3234282f33b29d349bcada40204fc7c8fda7fe72
	Author: Jan Beulich <JBeulich@novell.com>
	Date:   Tue Oct 19 14:52:26 2010 +0100
	x86, asm: Fix CFI macro invocations to deal with shortcomings in gas

This breaks MN10300 arch as this changes many instances of instructions
similar to the following:

	MOV	number,D0

which represents an immediate value load into:

	MOV	(number),D0

which the assembler then interprets as a load from absolute address.

arch/mn10300/kernel/entry.S:64: Error: Invalid opcode/operands
arch/mn10300/kernel/entry.S:65: Error: junk at end of line, first unrecognized character is `0'
arch/mn10300/kernel/entry.S:74: Error: Invalid opcode/operands
arch/mn10300/kernel/entry.S:74: Error: junk at end of line, first unrecognized character is `1'
arch/mn10300/kernel/entry.S:75: Error: Invalid opcode/operands
arch/mn10300/kernel/entry.S:76: Error: junk at end of line, first unrecognized character is `0'

cc: Jan Beulich <jbeulich@novell.com>
cc: Alexander van Heukelum <heukelum@fastmail.fm>
cc: H. Peter Anvin <hpa@linux.intel.com>
cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David Howells <dhowells@redhat.com>
---

 Kbuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Kbuild b/Kbuild
index 431f7ca..b00037a 100644
--- a/Kbuild
+++ b/Kbuild
@@ -53,7 +53,7 @@ targets += arch/$(SRCARCH)/kernel/asm-offsets.s
 # Default sed regexp - multiline due to syntax constraints
 define sed-y
 	"/^->/{s:->#\(.*\):/* \1 */:; \
-	s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 (\2) /* \3 */:; \
+	s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \
 	s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
 	s:->::; p;}"
 endef

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

end of thread, other threads:[~2010-11-02 10:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 14:02 [PATCH] Partially revert patch that encloses asm-offset.h numbers in brackets David Howells
2010-10-25 14:34 ` Jan Beulich
2010-10-25 14:43   ` Ingo Molnar
2010-10-25 14:54 ` David Howells
2010-10-25 15:05   ` Jan Beulich
2010-10-25 15:17     ` Linus Torvalds
2010-10-25 15:29       ` Jan Beulich
2010-10-25 15:50       ` H. Peter Anvin
2010-10-25 16:16         ` Linus Torvalds
2010-10-25 16:37           ` H. Peter Anvin
2010-10-26 10:53             ` Maciej W. Rozycki
2010-10-26 16:33               ` H. Peter Anvin
2010-10-26 17:34                 ` Maciej W. Rozycki
2010-10-25 15:59       ` David Howells
2010-10-25 17:51         ` H. Peter Anvin
2010-10-31 15:29     ` Alexander van Heukelum
2010-11-02  8:30       ` Ming Lei
2010-11-02 10:19         ` Alexander van Heukelum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).