summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Villemoes <ravi@prevas.dk>2025-06-04 21:56:05 +0200
committerTom Rini <trini@konsulko.com>2025-06-13 16:57:15 -0600
commite66d7fc089912a8f84bbbfa4a69eb5c0ebaa1e1d (patch)
treec4891d89a74248ba6787c6a2e71813532de20a80
parentfe0fa2bb6635ce3826b38204e68b284ada3a79fe (diff)
m68k: drop volatile qualifier from gd pointer
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
-rw-r--r--arch/m68k/include/asm/global_data.h2
1 files changed, 1 insertions, 1 deletions
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 */