[PATCH v2 03/12] s390/lowcore: Remove _AC() from LOWCORE_ALT_ADDRESS
From: Heiko Carstens
Date: Fri Sep 18 2026 - 04:56:33 EST
Remove the _AC() conversion from LOWCORE_ALT_ADDRESS. This changes the
type of LOWCORE_ALT_ADDRESS from unsigned long to int in C code, however
looking at the current users this should not cause any changes.
This allows to use __stringify(LOWCORE_ALT_ADDRESS) for inline
assemblies, which otherwise wouldn't work because of the UL suffix.
Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
---
arch/s390/include/asm/lowcore.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/s390/include/asm/lowcore.h b/arch/s390/include/asm/lowcore.h
index 5cef215d30e7..f0364a9f8a19 100644
--- a/arch/s390/include/asm/lowcore.h
+++ b/arch/s390/include/asm/lowcore.h
@@ -21,7 +21,7 @@
#define LC_ORDER 1
#define LC_PAGES 2
-#define LOWCORE_ALT_ADDRESS _AC(0x70000, UL)
+#define LOWCORE_ALT_ADDRESS 0x70000
#ifndef __ASSEMBLER__
--
2.53.0