[PATCH 05/12] m68k: drop volatile qualifier from gd pointer
Rasmus Villemoes
ravi at prevas.dk
Wed Jun 4 21:56:05 CEST 2025
Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>
---
arch/m68k/include/asm/global_data.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/m68k/include/asm/global_data.h b/arch/m68k/include/asm/global_data.h
index 4ac886933c6..29b46645676 100644
--- a/arch/m68k/include/asm/global_data.h
+++ b/arch/m68k/include/asm/global_data.h
@@ -36,7 +36,7 @@ struct arch_global_data {
extern gd_t *global_data;
#define DECLARE_GLOBAL_DATA_PTR gd_t *gd = global_data
#else
-#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("d7")
+#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("d7")
#endif
#endif /* __ASM_GBL_DATA_H */
--
2.49.0
More information about the U-Boot
mailing list