summaryrefslogtreecommitdiff
path: root/include/asm-sh/bitops.h
blob: 44dca9ff68afd2e49485de922627f6557156c95b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __ASM_SH_BITOPS_H_
#define __ASM_SH_BITOPS_H_

extern void set_bit(int nr, volatile void * a);
extern void clear_bit(int nr, volatile void * a);
extern int test_and_clear_bit(int nr, volatile void * a);
extern void change_bit(unsigned long nr, volatile void *addr);
extern int test_and_set_bit(int nr, volatile void * a);
extern int test_and_change_bit(int nr, volatile void * addr);
extern int test_bit(int nr, volatile void * a);
extern int ffs(int i);

#endif