target/uml: export atomic64_* functions on 32-bit x86
authorNicolas Thill <nico@openwrt.org>
Mon, 21 Nov 2011 14:28:33 +0000 (14:28 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 21 Nov 2011 14:28:33 +0000 (14:28 +0000)
SVN-Revision: 29287

target/linux/uml/patches-3.0/004-fix_atomic64_32.patch [new file with mode: 0644]

diff --git a/target/linux/uml/patches-3.0/004-fix_atomic64_32.patch b/target/linux/uml/patches-3.0/004-fix_atomic64_32.patch
new file mode 100644 (file)
index 0000000..6901eee
--- /dev/null
@@ -0,0 +1,13 @@
+[patch] um: export atomic64_* functions on i386
+
+--- a/arch/um/sys-i386/Makefile
++++ b/arch/um/sys-i386/Makefile
+@@ -8,7 +8,7 @@ obj-y = bug.o bugs.o checksum.o delay.o 
+ obj-$(CONFIG_BINFMT_ELF) += elfcore.o
+-subarch-obj-y = lib/semaphore_32.o lib/string_32.o
++subarch-obj-y = lib/atomic64_32.o lib/semaphore_32.o lib/string_32.o
+ subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem_32.o
+ subarch-obj-$(CONFIG_MODULES) += kernel/module.o