From: Rasmus Villemoes Date: Wed, 4 Jun 2025 19:56:05 +0000 (+0200) Subject: m68k: drop volatile qualifier from gd pointer X-Git-Tag: v2025.10-rc1~118^2~18^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e66d7fc089912a8f84bbbfa4a69eb5c0ebaa1e1d;p=pandora-u-boot.git m68k: drop volatile qualifier from gd pointer Signed-off-by: Rasmus Villemoes --- 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 */