diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 07:32:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:11 -0500 |
commit | 8b2cb7a8f531d6ca72a8aff873b9bb1c6b3122ba (patch) | |
tree | f53edab6bdc4e1f39ef2cea8d13f15242617262e /arch/x86/kernel/efi.c | |
parent | bfd074e05bdb69652d24ebc60b126899174ca788 (diff) |
x86: 32-bit EFI runtime service support: fixes in sync with 64-bit support
support according to fixes of x86_64 support.
- Delete efi_rt_lock because it is used during system early boot,
before SMP is initialized.
- Change local_flush_tlb() to __flush_tlb_all() to flush global page
mapping.
- Clean up includes.
- Revise Kconfig description.
- Enable noefi kernel parameter on i386.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/efi.c')
-rw-r--r-- | arch/x86/kernel/efi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c index 0a61522e85c7..2939b015c2ed 100644 --- a/arch/x86/kernel/efi.c +++ b/arch/x86/kernel/efi.c | |||
@@ -55,6 +55,13 @@ struct efi_memory_map memmap; | |||
55 | struct efi efi_phys __initdata; | 55 | struct efi efi_phys __initdata; |
56 | static efi_system_table_t efi_systab __initdata; | 56 | static efi_system_table_t efi_systab __initdata; |
57 | 57 | ||
58 | static int __init setup_noefi(char *arg) | ||
59 | { | ||
60 | efi_enabled = 0; | ||
61 | return 0; | ||
62 | } | ||
63 | early_param("noefi", setup_noefi); | ||
64 | |||
58 | static efi_status_t virt_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc) | 65 | static efi_status_t virt_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc) |
59 | { | 66 | { |
60 | return efi_call_virt2(get_time, tm, tc); | 67 | return efi_call_virt2(get_time, tm, tc); |