mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
bb9707077b
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 <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-lwqvgbuitjmrdpjmjp6zqnyx@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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 */
|