projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11b7c7d
)
x86/efi: fix improper use of lvalue
author
Jeremy Fitzhardinge
<
[email protected]
>
Wed, 30 Jan 2008 12:32:44 +0000
(13:32 +0100)
committer
Ingo Molnar
<
[email protected]
>
Wed, 30 Jan 2008 12:32:44 +0000
(13:32 +0100)
# HG changeset patch
# User Jeremy Fitzhardinge <
[email protected]
>
# Date
1199391030
28800
# Node ID
5d35c92fdf0e2c52edbb6fc4ccd06c7f65f25009
# Parent
22f6a5902285b58bfc1fbbd9e183498c9017bd78
x86/efi: fix improper use of lvalue
pgd_val is no longer valid as an lvalue, so don't try to assign to it.
Signed-off-by: Jeremy Fitzhardinge <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
arch/x86/kernel/efi_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/efi_64.c
b/arch/x86/kernel/efi_64.c
index 269de2e049a3d00f95555016d5d26d7bce3542a3..1f8bbd9644d734e5767b3011a3fb33a4d496571d 100644
(file)
--- a/
arch/x86/kernel/efi_64.c
+++ b/
arch/x86/kernel/efi_64.c
@@
-85,7
+85,7
@@
void __init efi_call_phys_prelog(void)
local_irq_save(efi_flags);
early_runtime_code_mapping_set_exec(1);
vaddress = (unsigned long)__va(0x0UL);
-
pgd_val(save_pgd) = pgd_val(*pgd_offset_k(0x0UL)
);
+
save_pgd = *pgd_offset_k(0x0UL
);
set_pgd(pgd_offset_k(0x0UL), *pgd_offset_k(vaddress));
__flush_tlb_all();
}