Thomas Huth | da3c22c | 2023-09-12 11:24:40 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ |
| 2 | /* |
| 3 | * Copyright (C) 2012 ARM Ltd. |
| 4 | * Copyright (C) 2015 Regents of the University of California |
| 5 | */ |
| 6 | |
| 7 | #ifndef _ASM_RISCV_BITSPERLONG_H |
| 8 | #define _ASM_RISCV_BITSPERLONG_H |
| 9 | |
| 10 | #define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8) |
| 11 | |
Vivek Goyal | ef17dd6 | 2022-02-08 15:48:05 -0500 | [diff] [blame] | 12 | #include <asm-generic/bitsperlong.h> |
Thomas Huth | da3c22c | 2023-09-12 11:24:40 +0200 | [diff] [blame] | 13 | |
| 14 | #endif /* _ASM_RISCV_BITSPERLONG_H */ |