diff options
Diffstat (limited to 'linux-headers/include/asm/bitsperlong.h')
-rw-r--r-- | linux-headers/include/asm/bitsperlong.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-headers/include/asm/bitsperlong.h b/linux-headers/include/asm/bitsperlong.h index e7f8569..33d3ae0 100644 --- a/linux-headers/include/asm/bitsperlong.h +++ b/linux-headers/include/asm/bitsperlong.h @@ -1,7 +1,7 @@ #ifndef _ASM_RISCV_BITSPERLONG_H #define _ASM_RISCV_BITSPERLONG_H -#define __BITS_PER_LONG _RISCV_SZLONG +#define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8) #include <asm-generic/bitsperlong.h> |