[PATCH 03/12] mips: drop volatile qualifier from gd pointer

Rasmus Villemoes ravi at prevas.dk
Wed Jun 4 21:56:03 CEST 2025


Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>
---
 arch/mips/include/asm/global_data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h
index 147a95ecea8..265dd2a3ec4 100644
--- a/arch/mips/include/asm/global_data.h
+++ b/arch/mips/include/asm/global_data.h
@@ -44,6 +44,6 @@ struct arch_global_data {
 
 #include <asm-generic/global_data.h>
 
-#define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("k0")
+#define DECLARE_GLOBAL_DATA_PTR     register gd_t *gd asm ("k0")
 
 #endif /* __ASM_GBL_DATA_H */
-- 
2.49.0



More information about the U-Boot mailing list