diff options
Diffstat (limited to 'arch/x86/mm/ioremap.c')
-rw-r--r-- | arch/x86/mm/ioremap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index a7c80a6e862..e92aa461f4d 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -602,10 +602,11 @@ void __init early_iounmap(void *addr, unsigned long size) | |||
602 | unsigned long offset; | 602 | unsigned long offset; |
603 | unsigned int nrpages; | 603 | unsigned int nrpages; |
604 | enum fixed_addresses idx; | 604 | enum fixed_addresses idx; |
605 | unsigned int nesting; | 605 | int nesting; |
606 | 606 | ||
607 | nesting = --early_ioremap_nested; | 607 | nesting = --early_ioremap_nested; |
608 | WARN_ON(nesting < 0); | 608 | if (WARN_ON(nesting < 0)) |
609 | return; | ||
609 | 610 | ||
610 | if (early_ioremap_debug) { | 611 | if (early_ioremap_debug) { |
611 | printk(KERN_INFO "early_iounmap(%p, %08lx) [%d]\n", addr, | 612 | printk(KERN_INFO "early_iounmap(%p, %08lx) [%d]\n", addr, |