git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abe705b
)
arm: remove volatile from set_gd prototype
author
Rasmus Villemoes
<ravi@prevas.dk>
Wed, 4 Jun 2025 19:56:11 +0000
(21:56 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 13 Jun 2025 22:57:15 +0000
(16:57 -0600)
The global gd pointer is no longer volatile-qualified. Callers of this
helper function have been updated to no longer use volatile-qualifed
temporary variables, so update the prototype accordingly.
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
arch/arm/include/asm/global_data.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/global_data.h
b/arch/arm/include/asm/global_data.h
index
f7a4720
..
b2ec450
100644
(file)
--- a/
arch/arm/include/asm/global_data.h
+++ b/
arch/arm/include/asm/global_data.h
@@
-139,7
+139,7
@@
static inline gd_t *get_gd(void)
#endif
#endif
-static inline void set_gd(
volatile
gd_t *gd_ptr)
+static inline void set_gd(gd_t *gd_ptr)
{
#ifdef CONFIG_ARM64
__asm__ volatile("ldr x18, %0\n" : : "m"(gd_ptr));