summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-07-24 17:20:27 +0200
committerHeiko Carstens <hca@linux.ibm.com>2023-07-29 14:57:18 +0200
commitb60624bb0a94126a26b9ac9653b4668a1a70ba2a (patch)
tree73982afcda5d4d2c8d2cf4913e028f3a0e3c8665 /arch
parentc28c07fe235ccaafe11003393de064b2a24dd2e3 (diff)
downloadlinux-stable-b60624bb0a94126a26b9ac9653b4668a1a70ba2a.tar.gz
linux-stable-b60624bb0a94126a26b9ac9653b4668a1a70ba2a.tar.bz2
linux-stable-b60624bb0a94126a26b9ac9653b4668a1a70ba2a.zip
s390/pfault: use UL instead of ULL
Remove another leftover of the 31 bit area: replace the not needed "unsigned long long" suffix with "unsigned long", and stay consistent with the rest of the code. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/mm/pfault.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/mm/pfault.c b/arch/s390/mm/pfault.c
index 5c0547f8d5ee..05865e5616b2 100644
--- a/arch/s390/mm/pfault.c
+++ b/arch/s390/mm/pfault.c
@@ -13,7 +13,7 @@
#include <asm/diag.h>
#define __SUBCODE_MASK 0x0600
-#define __PF_RES_FIELD 0x8000000000000000ULL
+#define __PF_RES_FIELD 0x8000000000000000UL
/*
* 'pfault' pseudo page faults routines.
@@ -45,8 +45,8 @@ static struct pfault_refbk pfault_init_refbk = {
.refdwlen = 5,
.refversn = 2,
.refgaddr = __LC_LPP,
- .refselmk = 1ULL << 48,
- .refcmpmk = 1ULL << 48,
+ .refselmk = 1UL << 48,
+ .refcmpmk = 1UL << 48,
.reserved = __PF_RES_FIELD
};