summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include/asm/bitops.h
blob: 58e9817ffae070dd3c4507e0b32790998b334de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _PERF_ASM_BITOPS_H_
#define _PERF_ASM_BITOPS_H_

#include <sys/types.h>
#include "../../types.h"
#include <linux/compiler.h>

/* CHECKME: Not sure both always match */
#define BITS_PER_LONG	__WORDSIZE

#include "../../../../include/asm-generic/bitops/__fls.h"
#include "../../../../include/asm-generic/bitops/fls.h"
#include "../../../../include/asm-generic/bitops/fls64.h"
#include "../../../../include/asm-generic/bitops/__ffs.h"
#include "../../../../include/asm-generic/bitops/ffz.h"
#include "../../../../include/asm-generic/bitops/hweight.h"

#endif
OpenPOWER on IntegriCloud