summaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-06-23 21:04:37 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-06-23 21:04:37 +0000
commitc49f135f72f98633653300bab5b0ac993b03c6be (patch)
tree50929b27bcea9ab4dc74b041d6e90967473301fa /target/linux/coldfire/patches/041-mcfv4e_bitops_lock_hdr.patch
parent50f2abfa16a2b509955312d1776beeece662c61b (diff)
downloadmaster-31e0f0ae-c49f135f72f98633653300bab5b0ac993b03c6be.tar.gz
master-31e0f0ae-c49f135f72f98633653300bab5b0ac993b03c6be.tar.bz2
master-31e0f0ae-c49f135f72f98633653300bab5b0ac993b03c6be.zip
use broken-out patches for the coldfire to make it easier to follow differences against the bsp
SVN-Revision: 16547
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)