diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-15 20:34:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-15 20:34:29 +0100 |
commit | 35d57884804ca45bfbf7590933066547050f5786 (patch) | |
tree | 4ecd04c52f4eff0dce4b40c447783d81e5acff4c /mm | |
parent | Merge tag 'for-linus-4.15-rc4-tag' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
parent | mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep (diff) | |
download | linux-35d57884804ca45bfbf7590933066547050f5786.tar.xz linux-35d57884804ca45bfbf7590933066547050f5786.zip |
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull early_ioremap fix from Ingo Molnar:
"A boot hang fix when the EFI earlyprintk driver is enabled"
* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep
Diffstat (limited to 'mm')
-rw-r--r-- | mm/early_ioremap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/early_ioremap.c b/mm/early_ioremap.c index d04ac1ec0559..1826f191e72c 100644 --- a/mm/early_ioremap.c +++ b/mm/early_ioremap.c @@ -111,7 +111,7 @@ __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) enum fixed_addresses idx; int i, slot; - WARN_ON(system_state != SYSTEM_BOOTING); + WARN_ON(system_state >= SYSTEM_RUNNING); slot = -1; for (i = 0; i < FIX_BTMAPS_SLOTS; i++) { |