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