summaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch')
-rw-r--r--target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch b/target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch
new file mode 100644
index 0000000000..7117629b2b
--- /dev/null
+++ b/target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch
@@ -0,0 +1,21 @@
+From ff3d02768c1cbfbc1f0f07db4aef3d500101e4a7 Mon Sep 17 00:00:00 2001
+From: Kurt Mahan <kmahan@freescale.com>
+Date: Fri, 15 Feb 2008 15:34:06 -0700
+Subject: [PATCH] Add generic lock header.
+
+LTIBName: mcfv4e-bitops-lock-hdr
+Signed-off-by: Kurt Mahan <kmahan@freescale.com>
+---
+ include/asm-m68k/bitops.h | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+--- a/include/asm-m68k/bitops.h
++++ b/include/asm-m68k/bitops.h
+@@ -874,6 +874,7 @@ static __inline__ int fls(int x)
+ #include <asm-generic/bitops/fls64.h>
+ #include <asm-generic/bitops/sched.h>
+ #include <asm-generic/bitops/hweight.h>
++#include <asm-generic/bitops/lock.h>
+
+ #define minix_find_first_zero_bit(addr, size) find_next_zero_bit((addr), \
+ (size), 0)