From: Richard Weinberger <richard@nod.at>
To: akpm@linux-foundation.org
Cc: user-mode-linux-devel@lists.sourceforge.net,
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>,
Jeff Dike <jdike@addtoit.com>,
linux-kernel@vger.kernel.org, Richard Weinberger <richard@nod.at>,
Christoph Lameter <cl@linux.com>
Subject: [uml-devel] [PATCH 1/9] um: disable CMPXCHG_DOUBLE as it breaks UML build
Date: Mon, 29 Aug 2011 18:13:31 +0200 [thread overview]
Message-ID: <1314634419-24766-2-git-send-email-richard@nod.at> (raw)
In-Reply-To: <1314634419-24766-1-git-send-email-richard@nod.at>
From: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
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>
Signed-off-by: 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.6.1
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2011-08-29 16:13 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 16:13 UML fixes for 3.1-rcX (2nd try) Richard Weinberger
2011-08-29 16:13 ` Richard Weinberger [this message]
2011-08-29 17:35 ` [PATCH 1/9] um: disable CMPXCHG_DOUBLE as it breaks UML build Christoph Lameter
2011-08-29 16:13 ` [uml-devel] [PATCH 2/9] um: drivers/xterm.c: fix a file descriptor leak Richard Weinberger
2011-08-29 16:13 ` [uml-devel] [PATCH 3/9] um: Save FPU registers between task switches Richard Weinberger
2011-08-29 16:13 ` [uml-devel] [PATCH 4/9] um: fix oopsable race in line_close() Richard Weinberger
2011-08-29 16:13 ` [uml-devel] [PATCH 5/9] um: winch_interrupt() can happen inside of free_winch() Richard Weinberger
2011-08-29 16:13 ` [uml-devel] [PATCH 6/9] um: fix free_winch() mess Richard Weinberger
2011-08-29 16:13 ` [uml-devel] [PATCH 7/9] um: PTRACE_[GS]ETFPXREGS had been wired on the wrong subarch Richard Weinberger
2011-08-29 16:13 ` [uml-devel] [PATCH 8/9] um: fix strrchr problems Richard Weinberger
2011-08-29 21:27 ` Andrew Morton
2011-08-29 21:38 ` Richard Weinberger
2011-08-29 22:12 ` Al Viro
2011-08-29 22:15 ` Richard Weinberger
2011-08-29 22:19 ` Al Viro
2011-08-29 22:25 ` Richard Weinberger
2011-08-29 23:28 ` [uml-devel] " Boaz Harrosh
2011-08-30 0:23 ` Al Viro
2011-08-30 2:48 ` Al Viro
2011-08-30 10:32 ` Richard Weinberger
2011-08-30 12:48 ` Al Viro
2011-08-29 22:39 ` Arnaud Lacombe
2011-08-29 22:11 ` Al Viro
2011-08-30 3:41 ` [uml-devel] " Jeff Dike
2011-08-29 16:13 ` [uml-devel] [PATCH 9/9] um: clean arch_ptrace() up a bit Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1314634419-24766-2-git-send-email-richard@nod.at \
--to=richard@nod.at \
--cc=akpm@linux-foundation.org \
--cc=cascardo@holoscopio.com \
--cc=cl@linux.com \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox