mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
We use it in bitops/__ffs.h and bitops/atomic.h, that we also got from the kernel, but were getting it from either newer systems that carry it in /usr/include, or from the kernel sources, that we decided not to touch from tools/ code. Fix it. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
13 lines
249 B
C
13 lines
249 B
C
#ifndef __ASM_POWERPC_BITSPERLONG_H
|
|
#define __ASM_POWERPC_BITSPERLONG_H
|
|
|
|
#if defined(__powerpc64__)
|
|
# define __BITS_PER_LONG 64
|
|
#else
|
|
# define __BITS_PER_LONG 32
|
|
#endif
|
|
|
|
#include <asm-generic/bitsperlong.h>
|
|
|
|
#endif /* __ASM_POWERPC_BITSPERLONG_H */
|