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:
0186936
)
efi: drop volatile qualifier from "save gd" variables
author
Rasmus Villemoes
<ravi@prevas.dk>
Wed, 4 Jun 2025 19:56:09 +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, so drop that
qualifier from these bookkeeping variables.
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index
24b0e52
..
754bc6a
100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-58,7
+58,7
@@
static efi_handle_t current_image;
* restriction so we need to manually swap its and our view of that register on
* EFI callback entry/exit.
*/
-static
volatile
gd_t *efi_gd, *app_gd;
+static gd_t *efi_gd, *app_gd;
#endif
efi_status_t efi_uninstall_protocol