xref: /linux/tools/arch/riscv/include/uapi/asm/bitsperlong.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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