use broken-out patches for the coldfire to make it easier to follow differences again...
[openwrt/svn-archive/archive.git] / target / linux / coldfire / patches / 041-mcfv4e_bitops_lock_hdr.patch
1 From ff3d02768c1cbfbc1f0f07db4aef3d500101e4a7 Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Fri, 15 Feb 2008 15:34:06 -0700
4 Subject: [PATCH] Add generic lock header.
5
6 LTIBName: mcfv4e-bitops-lock-hdr
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
8 ---
9 include/asm-m68k/bitops.h | 1 +
10 1 files changed, 1 insertions(+), 0 deletions(-)
11
12 --- a/include/asm-m68k/bitops.h
13 +++ b/include/asm-m68k/bitops.h
14 @@ -874,6 +874,7 @@ static __inline__ int fls(int x)
15 #include <asm-generic/bitops/fls64.h>
16 #include <asm-generic/bitops/sched.h>
17 #include <asm-generic/bitops/hweight.h>
18 +#include <asm-generic/bitops/lock.h>
19
20 #define minix_find_first_zero_bit(addr, size) find_next_zero_bit((addr), \
21 (size), 0)