[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-a03fc8c375511b6ab43184ab191af3218a919646@git.kernel.org>
Date: Fri, 22 Jul 2011 21:39:56 GMT
From: tip-bot for Richard Weinberger <richard@....at>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
richard@....at, sfr@...b.auug.org.au, rdunlap@...otime.net,
tglx@...utronix.de, mingo@...e.hu
Subject: [tip:x86/asm] um: Make rwsem.S depend on CONFIG_RWSEM_XCHGADD_ALGORITHM
Commit-ID: a03fc8c375511b6ab43184ab191af3218a919646
Gitweb: http://git.kernel.org/tip/a03fc8c375511b6ab43184ab191af3218a919646
Author: Richard Weinberger <richard@....at>
AuthorDate: Fri, 22 Jul 2011 20:55:34 +0200
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Fri, 22 Jul 2011 23:06:30 +0200
um: Make rwsem.S depend on CONFIG_RWSEM_XCHGADD_ALGORITHM
rwsem.S can only be used with CONFIG_RWSEM_XCHGADD_ALGORITHM.
This unbreaks the UML build on i386.
Reported-by: Randy Dunlap <rdunlap@...otime.net>
Acked-by: Randy Dunlap <rdunlap@...otime.net>
Signed-off-by: Richard Weinberger <richard@....at>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: user-mode-linux-devel@...ts.sourceforge.net
Cc: JBeulich@...ell.com
Link: http://lkml.kernel.org/r/201107222055.35341.richard@nod.at
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
arch/um/sys-i386/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/um/sys-i386/Makefile b/arch/um/sys-i386/Makefile
index 15587ed..87b659d 100644
--- a/arch/um/sys-i386/Makefile
+++ b/arch/um/sys-i386/Makefile
@@ -8,7 +8,8 @@ obj-y = bug.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
obj-$(CONFIG_BINFMT_ELF) += elfcore.o
-subarch-obj-y = lib/rwsem.o lib/string_32.o
+subarch-obj-y = lib/string_32.o
+subarch-obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += lib/rwsem.o
subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem_32.o
subarch-obj-$(CONFIG_MODULES) += kernel/module.o
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists