Message ID | 20250325121624.523258-27-guoren@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | rv64ilp32_abi: Build CONFIG_64BIT kernel-self with ILP32 ABI | expand |
Context | Check | Description |
---|---|---|
bjorn/pre-ci_am | success | Success |
bjorn/build-rv32-defconfig | fail | build-rv32-defconfig |
bjorn/build-rv64-clang-allmodconfig | fail | build-rv64-clang-allmodconfig |
bjorn/build-rv64-gcc-allmodconfig | fail | build-rv64-gcc-allmodconfig |
bjorn/build-rv64-nommu-k210-defconfig | success | build-rv64-nommu-k210-defconfig |
bjorn/build-rv64-nommu-k210-virt | success | build-rv64-nommu-k210-virt |
bjorn/checkpatch | success | checkpatch |
bjorn/dtb-warn-rv64 | success | dtb-warn-rv64 |
bjorn/header-inline | success | header-inline |
bjorn/kdoc | success | kdoc |
bjorn/module-param | success | module-param |
bjorn/verify-fixes | success | verify-fixes |
bjorn/verify-signedoff | success | verify-signedoff |
diff --git a/include/linux/file_ref.h b/include/linux/file_ref.h index 9b3a8d9b17ab..ce9b47359e14 100644 --- a/include/linux/file_ref.h +++ b/include/linux/file_ref.h @@ -27,7 +27,7 @@ * 0xFFFFFFFFFFFFFFFFUL */ -#ifdef CONFIG_64BIT +#if BITS_PER_LONG == 64 #define FILE_REF_ONEREF 0x0000000000000000UL #define FILE_REF_MAXREF 0x7FFFFFFFFFFFFFFFUL #define FILE_REF_SATURATED 0xA000000000000000UL @@ -44,7 +44,7 @@ #endif typedef struct { -#ifdef CONFIG_64BIT +#if BITS_PER_LONG == 64 atomic64_t refcnt; #else atomic_t refcnt;