18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __ASM_H8300_BITS_PER_LONG
38c2ecf20Sopenharmony_ci#define __ASM_H8300_BITS_PER_LONG
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <asm-generic/bitsperlong.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#if !defined(__ASSEMBLY__)
88c2ecf20Sopenharmony_ci/* h8300-unknown-linux required long */
98c2ecf20Sopenharmony_ci#define __kernel_size_t __kernel_size_t
108c2ecf20Sopenharmony_citypedef unsigned long	__kernel_size_t;
118c2ecf20Sopenharmony_citypedef long		__kernel_ssize_t;
128c2ecf20Sopenharmony_citypedef long		__kernel_ptrdiff_t;
138c2ecf20Sopenharmony_ci#endif
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#endif /* __ASM_H8300_BITS_PER_LONG */
16