* [PATCH] um: disable CMPXCHG_DOUBLE as it breaks UML build
@ 2011-07-23 16:21 Thadeu Lima de Souza Cascardo
2011-07-25 13:58 ` Christoph Lameter
2011-07-25 14:00 ` Richard Weinberger
0 siblings, 2 replies; 4+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2011-07-23 16:21 UTC (permalink / raw)
To: jdike
Cc: user-mode-linux-devel, linux-kernel,
Thadeu Lima de Souza Cascardo, Christoph Lameter,
Richard Weinberger
Commit b789ef518b2a7231b0668c813f677cee528a9d3f tests for cmpxchg_double
support in the SLUB code and it breaks UML builds with SLUB. Since UML
does not support checking for CPU features, disable CMPXCHG_DOUBLE just
like CMPXCHG_LOCAL is disabled for UML.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
---
arch/um/Kconfig.x86 | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/um/Kconfig.x86 b/arch/um/Kconfig.x86
index d31ecf3..21bebe6 100644
--- a/arch/um/Kconfig.x86
+++ b/arch/um/Kconfig.x86
@@ -10,6 +10,10 @@ config CMPXCHG_LOCAL
bool
default n
+config CMPXCHG_DOUBLE
+ bool
+ default n
+
source "arch/x86/Kconfig.cpu"
endmenu
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] um: disable CMPXCHG_DOUBLE as it breaks UML build
2011-07-23 16:21 [PATCH] um: disable CMPXCHG_DOUBLE as it breaks UML build Thadeu Lima de Souza Cascardo
@ 2011-07-25 13:58 ` Christoph Lameter
2011-07-25 14:00 ` Richard Weinberger
1 sibling, 0 replies; 4+ messages in thread
From: Christoph Lameter @ 2011-07-25 13:58 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo
Cc: jdike, user-mode-linux-devel, linux-kernel, Richard Weinberger
Acked-by: Christoph Lameter <cl@linux.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] [PATCH] um: disable CMPXCHG_DOUBLE as it breaks UML build
2011-07-23 16:21 [PATCH] um: disable CMPXCHG_DOUBLE as it breaks UML build Thadeu Lima de Souza Cascardo
@ 2011-07-25 14:00 ` Richard Weinberger
2011-07-25 14:00 ` Richard Weinberger
1 sibling, 0 replies; 4+ messages in thread
From: Richard Weinberger @ 2011-07-25 14:00 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo
Cc: jdike, Christoph Lameter, linux-kernel, user-mode-linux-devel
Am Samstag 23 Juli 2011, 18:21:51 schrieb Thadeu Lima de Souza Cascardo:
> Commit b789ef518b2a7231b0668c813f677cee528a9d3f tests for cmpxchg_double
> support in the SLUB code and it breaks UML builds with SLUB. Since UML
> does not support checking for CPU features, disable CMPXCHG_DOUBLE just
> like CMPXCHG_LOCAL is disabled for UML.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> Cc: Christoph Lameter <cl@linux.com>
> Cc: Jeff Dike <jdike@addtoit.com>
> Cc: Richard Weinberger <richard@nod.at>
Applied!
Thanks,
//richard
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] um: disable CMPXCHG_DOUBLE as it breaks UML build
@ 2011-07-25 14:00 ` Richard Weinberger
0 siblings, 0 replies; 4+ messages in thread
From: Richard Weinberger @ 2011-07-25 14:00 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo
Cc: jdike, user-mode-linux-devel, linux-kernel, Christoph Lameter
Am Samstag 23 Juli 2011, 18:21:51 schrieb Thadeu Lima de Souza Cascardo:
> Commit b789ef518b2a7231b0668c813f677cee528a9d3f tests for cmpxchg_double
> support in the SLUB code and it breaks UML builds with SLUB. Since UML
> does not support checking for CPU features, disable CMPXCHG_DOUBLE just
> like CMPXCHG_LOCAL is disabled for UML.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> Cc: Christoph Lameter <cl@linux.com>
> Cc: Jeff Dike <jdike@addtoit.com>
> Cc: Richard Weinberger <richard@nod.at>
Applied!
Thanks,
//richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-25 14:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-23 16:21 [PATCH] um: disable CMPXCHG_DOUBLE as it breaks UML build Thadeu Lima de Souza Cascardo
2011-07-25 13:58 ` Christoph Lameter
2011-07-25 14:00 ` [uml-devel] " Richard Weinberger
2011-07-25 14:00 ` Richard Weinberger
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.