mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +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]>
15 lines
366 B
C
15 lines
366 B
C
#ifndef __ASM_H8300_BITS_PER_LONG
|
|
#define __ASM_H8300_BITS_PER_LONG
|
|
|
|
#include <asm-generic/bitsperlong.h>
|
|
|
|
#if !defined(__ASSEMBLY__)
|
|
/* h8300-unknown-linux required long */
|
|
#define __kernel_size_t __kernel_size_t
|
|
typedef unsigned long __kernel_size_t;
|
|
typedef long __kernel_ssize_t;
|
|
typedef long __kernel_ptrdiff_t;
|
|
#endif
|
|
|
|
#endif /* __ASM_H8300_BITS_PER_LONG */
|