xref: /qemu/linux-headers/asm-riscv/bitsperlong.h (revision 9a8af699677cdf58e92ff43f38ea74bbe9d37ab0)
1*da3c22c7SThomas Huth /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
2*da3c22c7SThomas Huth /*
3*da3c22c7SThomas Huth  * Copyright (C) 2012 ARM Ltd.
4*da3c22c7SThomas Huth  * Copyright (C) 2015 Regents of the University of California
5*da3c22c7SThomas Huth  */
6*da3c22c7SThomas Huth 
7*da3c22c7SThomas Huth #ifndef _ASM_RISCV_BITSPERLONG_H
8*da3c22c7SThomas Huth #define _ASM_RISCV_BITSPERLONG_H
9*da3c22c7SThomas Huth 
10*da3c22c7SThomas Huth #define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8)
11*da3c22c7SThomas Huth 
12ef17dd6aSVivek Goyal #include <asm-generic/bitsperlong.h>
13*da3c22c7SThomas Huth 
14*da3c22c7SThomas Huth #endif /* _ASM_RISCV_BITSPERLONG_H */
15