File: bitops.h

package info (click to toggle)
linux-tools 3.2.17-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 57,020 kB
  • sloc: ansic: 724,385; perl: 11,579; makefile: 5,064; cpp: 3,963; python: 2,924; sh: 2,513; yacc: 1,291; lex: 947; asm: 880; pascal: 80
file content (16 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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 */