dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/asm-generic/bitops
Akinobu Mita b1bb9522da [PATCH] bitops: generic minix_{test,set,test_and_clear,test,find_first_zero}_bit()
This patch introduces the C-language equivalents of the functions below:

int minix_test_and_set_bit(int nr, volatile unsigned long *addr);
int minix_set_bit(int nr, volatile unsigned long *addr);
int minix_test_and_clear_bit(int nr, volatile unsigned long *addr);
int minix_test_bit(int nr, const volatile unsigned long *addr);
unsigned long minix_find_first_zero_bit(const unsigned long *addr,
                                        unsigned long size);

In include/asm-generic/bitops/minix.h
   and include/asm-generic/bitops/minix-le.h

This code largely copied from: include/asm-sparc/bitops.h

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:57:11 -08:00
..
__ffs.h [PATCH] bitops: generic __ffs() 2006-03-26 08:57:10 -08:00
atomic.h [PATCH] bitops: generic {,test_and_}{set,clear,change}_bit() 2006-03-26 08:57:10 -08:00
ext2-atomic.h [PATCH] bitops: generic ext2_{set,clear}_bit_atomic() 2006-03-26 08:57:11 -08:00
ext2-non-atomic.h [PATCH] bitops: generic ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() 2006-03-26 08:57:11 -08:00
ffs.h [PATCH] bitops: generic ffs() 2006-03-26 08:57:11 -08:00
ffz.h [PATCH] bitops: generic ffz() 2006-03-26 08:57:10 -08:00
find.h [PATCH] bitops: generic find_{next,first}{,_zero}_bit() 2006-03-26 08:57:11 -08:00
fls.h [PATCH] bitops: generic fls() 2006-03-26 08:57:10 -08:00
fls64.h [PATCH] fix error: __u32 undeclared 2006-03-26 08:57:11 -08:00
hweight.h [PATCH] fix error: __u32 undeclared 2006-03-26 08:57:11 -08:00
le.h [PATCH] bitops: generic ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() 2006-03-26 08:57:11 -08:00
minix-le.h [PATCH] bitops: generic minix_{test,set,test_and_clear,test,find_first_zero}_bit() 2006-03-26 08:57:11 -08:00
minix.h [PATCH] bitops: generic minix_{test,set,test_and_clear,test,find_first_zero}_bit() 2006-03-26 08:57:11 -08:00
non-atomic.h [PATCH] bitops: generic __{,test_and_}{set,clear,change}_bit() and test_bit() 2006-03-26 08:57:10 -08:00
sched.h [PATCH] bitops: generic sched_find_first_bit() 2006-03-26 08:57:11 -08:00