summaryrefslogtreecommitdiff
path: root/tools/arch/loongarch/include/uapi/asm/bitsperlong.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/loongarch/include/uapi/asm/bitsperlong.h')
-rw-r--r--tools/arch/loongarch/include/uapi/asm/bitsperlong.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/arch/loongarch/include/uapi/asm/bitsperlong.h b/tools/arch/loongarch/include/uapi/asm/bitsperlong.h
index d4e32b3d4843..00b4ba1e5cdf 100644
--- a/tools/arch/loongarch/include/uapi/asm/bitsperlong.h
+++ b/tools/arch/loongarch/include/uapi/asm/bitsperlong.h
@@ -2,7 +2,7 @@
#ifndef __ASM_LOONGARCH_BITSPERLONG_H
#define __ASM_LOONGARCH_BITSPERLONG_H
-#define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8)
+#define __BITS_PER_LONG (__SIZEOF_LONG__ * 8)
#include <asm-generic/bitsperlong.h>