All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86-64: fix UML build after adding CFI annotations to lib/rwsem_64.S
@ 2011-03-01 11:14 Jan Beulich
  2011-03-01 11:33 ` [tip:x86/asm] um, x86-64: Fix " tip-bot for Jan Beulich
  2011-03-01 12:07 ` [PATCH] x86-64: fix " Stratos Psomadakis
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Beulich @ 2011-03-01 11:14 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: Jeff Dike, linux-kernel

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Jeff Dike <jdike@addtoit.com>

---
 arch/um/Kconfig.x86     |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

--- 2.6.38-rc6/arch/um/Kconfig.x86
+++ 2.6.38-rc6-x86_64-cfi-annotate-rwsem-UML/arch/um/Kconfig.x86
@@ -19,6 +19,9 @@ config X86_32
 	def_bool !64BIT
 	select HAVE_AOUT
 
+config X86_64
+	def_bool 64BIT
+
 config RWSEM_XCHGADD_ALGORITHM
 	def_bool X86_XADD
 




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

* [tip:x86/asm] um, x86-64: Fix UML build after adding CFI annotations to lib/rwsem_64.S
  2011-03-01 11:14 [PATCH] x86-64: fix UML build after adding CFI annotations to lib/rwsem_64.S Jan Beulich
@ 2011-03-01 11:33 ` tip-bot for Jan Beulich
  2011-03-01 12:07 ` [PATCH] x86-64: fix " Stratos Psomadakis
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Jan Beulich @ 2011-03-01 11:33 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, jdike, hpa, mingo, jbeulich, JBeulich, tglx, mingo

Commit-ID:  bfc39061d3dbf812e6a78f9529a548e5f0050c64
Gitweb:     http://git.kernel.org/tip/bfc39061d3dbf812e6a78f9529a548e5f0050c64
Author:     Jan Beulich <JBeulich@novell.com>
AuthorDate: Tue, 1 Mar 2011 11:14:55 +0000
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 1 Mar 2011 12:19:44 +0100

um, x86-64: Fix UML build after adding CFI annotations to lib/rwsem_64.S

arch/um/Kconfig.x86 has X86_32 but not X86_64 - that's resulting in
asm/dwarf2.h producing the 32-bit (pushl_cfi & Co) macros instead of
the 64-bit ones.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Jeff Dike <jdike@addtoit.com>
LKML-Reference: <4D6CE3400200007800034498@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/um/Kconfig.x86 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/um/Kconfig.x86 b/arch/um/Kconfig.x86
index 5ee3280..62f2115 100644
--- a/arch/um/Kconfig.x86
+++ b/arch/um/Kconfig.x86
@@ -19,6 +19,9 @@ config X86_32
 	def_bool !64BIT
 	select HAVE_AOUT
 
+config X86_64
+	def_bool 64BIT
+
 config RWSEM_XCHGADD_ALGORITHM
 	def_bool X86_XADD
 

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

* Re: [PATCH] x86-64: fix UML build after adding CFI annotations to lib/rwsem_64.S
  2011-03-01 11:14 [PATCH] x86-64: fix UML build after adding CFI annotations to lib/rwsem_64.S Jan Beulich
  2011-03-01 11:33 ` [tip:x86/asm] um, x86-64: Fix " tip-bot for Jan Beulich
@ 2011-03-01 12:07 ` Stratos Psomadakis
  1 sibling, 0 replies; 3+ messages in thread
From: Stratos Psomadakis @ 2011-03-01 12:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jan Beulich, mingo, tglx, hpa, Jeff Dike

On 03/01/2011 01:14 PM, Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
> Cc: Jeff Dike <jdike@addtoit.com>
>
> ---
>  arch/um/Kconfig.x86     |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> --- 2.6.38-rc6/arch/um/Kconfig.x86
> +++ 2.6.38-rc6-x86_64-cfi-annotate-rwsem-UML/arch/um/Kconfig.x86
> @@ -19,6 +19,9 @@ config X86_32
>  	def_bool !64BIT
>  	select HAVE_AOUT
>  
> +config X86_64
> +	def_bool 64BIT
> +
>  config RWSEM_XCHGADD_ALGORITHM
>  	def_bool X86_XADD
>  
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml
tested it and works(build + boot).
i think that you could add "select HAVE_AOUT" to x86_64 too, or move it to
config UML_X86, to catch both configs.

-- 
Stratos Psomadakis
<psomas@ece.ntua.gr>


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

end of thread, other threads:[~2011-03-01 12:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 11:14 [PATCH] x86-64: fix UML build after adding CFI annotations to lib/rwsem_64.S Jan Beulich
2011-03-01 11:33 ` [tip:x86/asm] um, x86-64: Fix " tip-bot for Jan Beulich
2011-03-01 12:07 ` [PATCH] x86-64: fix " Stratos Psomadakis

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.