xref: /linux/tools/arch/riscv/include/uapi/asm/bitsperlong.h (revision 35758b0032c056cdff3e8f5a70669cb3e2c8d0e4)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2012 ARM Ltd.
4  * Copyright (C) 2015 Regents of the University of California
5  */
6 
7 #ifndef _UAPI_ASM_RISCV_BITSPERLONG_H
8 #define _UAPI_ASM_RISCV_BITSPERLONG_H
9 
10 #define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8)
11 
12 #include <asm-generic/bitsperlong.h>
13 
14 #endif /* _UAPI_ASM_RISCV_BITSPERLONG_H */
15