diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-14 13:08:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-14 13:08:40 -0500 |
commit | d42b3a2906a10b732ea7d7f849d49be79d242ef0 (patch) | |
tree | 1f4f2387bf53f8015aa87eb9c05ba8316cb5ed50 /init | |
parent | 18dd0bf22b6f0c1bd5e4e813a42245ed86ec57b6 (diff) | |
parent | e83af1f18c78c7b6aa720beecc927ecc8afd3647 (diff) |
Merge branch 'core-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 EFI update from Peter Anvin:
"EFI tree, from Matt Fleming. Most of the patches are the new efivarfs
filesystem by Matt Garrett & co. The balance are support for EFI
wallclock in the absence of a hardware-specific driver, and various
fixes and cleanups."
* 'core-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
efivarfs: Make efivarfs_fill_super() static
x86, efi: Check table header length in efi_bgrt_init()
efivarfs: Use query_variable_info() to limit kmalloc()
efivarfs: Fix return value of efivarfs_file_write()
efivarfs: Return a consistent error when efivarfs_get_inode() fails
efivarfs: Make 'datasize' unsigned long
efivarfs: Add unique magic number
efivarfs: Replace magic number with sizeof(attributes)
efivarfs: Return an error if we fail to read a variable
efi: Clarify GUID length calculations
efivarfs: Implement exclusive access for {get,set}_variable
efivarfs: efivarfs_fill_super() ensure we clean up correctly on error
efivarfs: efivarfs_fill_super() ensure we free our temporary name
efivarfs: efivarfs_fill_super() fix inode reference counts
efivarfs: efivarfs_create() ensure we drop our reference on inode on error
efivarfs: efivarfs_file_read ensure we free data in error paths
x86-64/efi: Use EFI to deal with platform wall clock (again)
x86/kernel: remove tboot 1:1 page table creation code
x86, efi: 1:1 pagetable mapping for virtual EFI calls
x86, mm: Include the entire kernel memory map in trampoline_pgd
...
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init/main.c b/init/main.c index 63ae904a99a8..6af5470b8067 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -463,6 +463,10 @@ static void __init mm_init(void) | |||
463 | percpu_init_late(); | 463 | percpu_init_late(); |
464 | pgtable_cache_init(); | 464 | pgtable_cache_init(); |
465 | vmalloc_init(); | 465 | vmalloc_init(); |
466 | #ifdef CONFIG_X86 | ||
467 | if (efi_enabled) | ||
468 | efi_enter_virtual_mode(); | ||
469 | #endif | ||
466 | } | 470 | } |
467 | 471 | ||
468 | asmlinkage void __init start_kernel(void) | 472 | asmlinkage void __init start_kernel(void) |
@@ -603,10 +607,6 @@ asmlinkage void __init start_kernel(void) | |||
603 | calibrate_delay(); | 607 | calibrate_delay(); |
604 | pidmap_init(); | 608 | pidmap_init(); |
605 | anon_vma_init(); | 609 | anon_vma_init(); |
606 | #ifdef CONFIG_X86 | ||
607 | if (efi_enabled) | ||
608 | efi_enter_virtual_mode(); | ||
609 | #endif | ||
610 | thread_info_cache_init(); | 610 | thread_info_cache_init(); |
611 | cred_init(); | 611 | cred_init(); |
612 | fork_init(totalram_pages); | 612 | fork_init(totalram_pages); |