Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b899c5ed2ef3af3429abd8046197255f179ea496 Commit: b899c5ed2ef3af3429abd8046197255f179ea496 Parent: 11b7c7dc945b8802c459baa3304c1b501d2bf872 Author: Jeremy Fitzhardinge <[EMAIL PROTECTED]> AuthorDate: Wed Jan 30 13:32:44 2008 +0100 Committer: Ingo Molnar <[EMAIL PROTECTED]> CommitDate: Wed Jan 30 13:32:44 2008 +0100
x86/efi: fix improper use of lvalue # 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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/efi_64.c b/arch/x86/kernel/efi_64.c index 269de2e..1f8bbd9 100644 --- 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(); } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html