summaryrefslogtreecommitdiffstats
path: root/arch/score/include/asm/bitops.h
blob: a304096b1894375d94ebd7ced3decc512fe3a782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _ASM_SCORE_BITOPS_H
#define _ASM_SCORE_BITOPS_H

#include <asm/byteorder.h> /* swab32 */

/*
 * clear_bit() doesn't provide any barrier for the compiler.
 */
#define smp_mb__before_clear_bit()	barrier()
#define smp_mb__after_clear_bit()	barrier()

#include <asm-generic/bitops.h>
#include <asm-generic/bitops/__fls.h>

#endif /* _ASM_SCORE_BITOPS_H */