![Chen Liqin](/assets/img/avatar_default.png)
This is the complete set of new arch Score's files for linux. Score instruction set support 16bits, 32bits and 64bits instruction, Score SOC had been used in game machine and LCD TV. Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
17 lines
401 B
C
17 lines
401 B
C
#ifndef _ASM_SCORE_BITOPS_H
|
|
#define _ASM_SCORE_BITOPS_H
|
|
|
|
#include <asm/byteorder.h> /* swab32 */
|
|
#include <asm/system.h> /* save_flags */
|
|
|
|
/*
|
|
* 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 */
|