summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLinus Torvalds2017-12-15 20:34:29 +0100
committerLinus Torvalds2017-12-15 20:34:29 +0100
commit35d57884804ca45bfbf7590933066547050f5786 (patch)
tree4ecd04c52f4eff0dce4b40c447783d81e5acff4c /mm
parentMerge tag 'for-linus-4.15-rc4-tag' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentmm/early_ioremap: Fix boot hang with earlyprintk=efi,keep (diff)
downloadkernel-qcow2-linux-35d57884804ca45bfbf7590933066547050f5786.tar.gz
kernel-qcow2-linux-35d57884804ca45bfbf7590933066547050f5786.tar.xz
kernel-qcow2-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.c2
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++) {