public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i386: restore parentheses around one pushl_cfi argument
@ 2010-10-22  7:22 Jan Beulich
  2010-10-22  9:56 ` [tip:x86/debug] x86, asm: Restore " tip-bot for Jan Beulich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2010-10-22  7:22 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: heukelum, linux-kernel

These were (intentionally) stripped by "fix CFI macro invocations to
deal with shortcomings in gas" to expose problems with unexpected
splitting of arguments by older gas also on newer versions, but as it
turns out there is at least one distro (Ubuntu 6.06) where even not
having *any* spaces in a macro argument doesn't reliably prevent
splitting into multiple arguments.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>

---
 arch/x86/kernel/entry_32.S        |    2 +-
 1 files changed, 1 insertion, 1 deletion

--- 2.6.36-x86-cfi.orig/arch/x86/kernel/entry_32.S
+++ 2.6.36-x86-cfi/arch/x86/kernel/entry_32.S
@@ -395,7 +395,7 @@ sysenter_past_esp:
 	 * A tiny bit of offset fixup is necessary - 4*4 means the 4 words
 	 * pushed above; +8 corresponds to copy_thread's esp0 setting.
 	 */
-	pushl_cfi TI_sysenter_return-THREAD_SIZE_asm+8+4*4(%esp)
+	pushl_cfi (TI_sysenter_return-THREAD_SIZE_asm+8+4*4)(%esp)
 	CFI_REL_OFFSET eip, 0
 
 	pushl_cfi %eax




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

end of thread, other threads:[~2010-10-22  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-22  7:22 [PATCH] i386: restore parentheses around one pushl_cfi argument Jan Beulich
2010-10-22  9:56 ` [tip:x86/debug] x86, asm: Restore " tip-bot for Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox