From 9d1baaa594d796ca9fe6bdf1282c78e4b2ff5234 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Fri, 8 Nov 2019 17:25:35 +0100 Subject: [PATCH] zipl: stfle: use uint64_t instead of u64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the definition of `stfle_fac_list` in the lowcore uses uint64_t, we should also use uint64_t for the `stfle_fac_list` parameter of the `stfle/__stfle_asm` function. Signed-off-by: Marc Hartmayer Reviewed-by: Stefan Haberland --- zipl/boot/s390.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipl/boot/s390.h b/zipl/boot/s390.h index 3f63e63d..6de5766c 100644 --- a/zipl/boot/s390.h +++ b/zipl/boot/s390.h @@ -452,7 +452,7 @@ static inline int test_facility(unsigned long nr) return __test_facility(nr, &S390_lowcore.stfle_fac_list); } -static inline unsigned long __stfle_asm(u64 *stfle_fac_list, int size) +static inline unsigned long __stfle_asm(uint64_t *stfle_fac_list, int size) { register unsigned long reg0 asm("0") = size - 1; @@ -469,7 +469,7 @@ static inline unsigned long __stfle_asm(u64 *stfle_fac_list, int size) * @stfle_fac_list: array where facility list can be stored * @size: size of passed in array in double words */ -static inline void stfle(u64 *stfle_fac_list, int size) +static inline void stfle(uint64_t *stfle_fac_list, int size) { unsigned long nr;