linux/include
Akinobu Mita 7a8a242995 [PATCH] bitops: generic {,test_and_}{set,clear,change}_bit()
This patch introduces the C-language equivalents of the functions below:

void set_bit(int nr, volatile unsigned long *addr);
void clear_bit(int nr, volatile unsigned long *addr);
void change_bit(int nr, volatile unsigned long *addr);
int test_and_set_bit(int nr, volatile unsigned long *addr);
int test_and_clear_bit(int nr, volatile unsigned long *addr);
int test_and_change_bit(int nr, volatile unsigned long *addr);

In include/asm-generic/bitops/atomic.h

This code largely copied from:

include/asm-powerpc/bitops.h
include/asm-parisc/bitops.h
include/asm-parisc/atomic.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:10 -08:00
..
acpi [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
asm-alpha [PATCH] bitops: alpha: use config options instead of __alpha_fix__ and __alpha_cix__ 2006-03-26 08:57:09 -08:00
asm-arm [PATCH] arm: fix undefined reference to generic_fls 2006-03-26 08:57:09 -08:00
asm-arm26 [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
asm-cris [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-frv [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-generic [PATCH] bitops: generic {,test_and_}{set,clear,change}_bit() 2006-03-26 08:57:10 -08:00
asm-h8300 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-i386 [PATCH] x86: kprobes-booster 2006-03-26 08:57:04 -08:00
asm-ia64 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-m32r [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-m68k [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-m68knommu [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-mips [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-parisc [PATCH] bitops: parisc: add ()-pair in __ffz() macro 2006-03-26 08:57:10 -08:00
asm-powerpc [PATCH] 2TB files: add blkcnt_t 2006-03-26 08:57:00 -08:00
asm-ppc powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
asm-s390 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sh [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sh64 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sparc [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-sparc64 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-um [PATCH] x86: SMP alternatives 2006-03-23 07:38:04 -08:00
asm-v850 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
asm-x86_64 [PATCH] x86_64: Removed duplicated declaration of force_iommu 2006-03-25 09:14:39 -08:00
asm-xtensa [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() 2006-03-26 08:57:10 -08:00
keys [PATCH] Keys: Remove key duplication 2006-01-06 08:33:29 -08:00
linux [PATCH] more s/fucn/func/ typo fixes 2006-03-26 08:57:09 -08:00
math-emu
media V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00
mtd
net [IPV4]: Aggregate route entries with different TOS values 2006-03-25 01:38:55 -08:00
pcmcia [PATCH] pcmcia: Add macro to match PCMCIA cards by numeric ID and first vendor string 2006-03-01 11:11:26 +01:00
rdma IB/umad: Add support for large RMPP transfers 2006-03-20 10:08:23 -08:00
rxrpc
scsi [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE. 2006-03-24 09:51:36 -05:00
sound [PATCH] sound: remove PC98-specific OPL3_HW_OPL3_PC98 2006-03-24 07:33:26 -08:00
video [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00