aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/uml
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-11-21 14:28:33 +0000
committerNicolas Thill <nico@openwrt.org>2011-11-21 14:28:33 +0000
commit29e5ed5992034f2163003a5d11eff8e5a8664711 (patch)
treee9342025d1b758f9f263824824f701280fe83afb /target/linux/uml
parentc0344a2309e30cb6b3973863faf93cdfcebb5a0b (diff)
downloadupstream-29e5ed5992034f2163003a5d11eff8e5a8664711.tar.gz
upstream-29e5ed5992034f2163003a5d11eff8e5a8664711.tar.bz2
upstream-29e5ed5992034f2163003a5d11eff8e5a8664711.zip
target/uml: export atomic64_* functions on 32-bit x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29287 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/uml')
-rw-r--r--target/linux/uml/patches-3.0/004-fix_atomic64_32.patch13
1 files changed, 13 insertions, 0 deletions
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
index 0000000000..6901eee210
--- /dev/null
+++ b/target/linux/uml/patches-3.0/004-fix_atomic64_32.patch
@@ -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
+