| 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 | |
| 12 | #include <asm-generic/bitsperlong.h> |
| 13 | |
| 14 | #endif /* _ASM_RISCV_BITSPERLONG_H */ |