m68k: drop volatile qualifier from gd pointer

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
This commit is contained in:
Rasmus Villemoes 2025-06-04 21:56:05 +02:00 committed by Tom Rini
parent fe0fa2bb66
commit e66d7fc089

View File

@ -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 */