Commit 43a27979 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86-64: Fix pud typo in ioremap

With Martin Schwidefsky <schwidefsky@de.ibm.com>

Fix typo in ioremap pud conversion
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2a66bc5a
......@@ -85,7 +85,7 @@ static inline int remap_area_pud(pud_t * pud, unsigned long address, unsigned lo
return -ENOMEM;
remap_area_pmd(pmd, address, end - address, address + phys_addr, flags);
address = (address + PUD_SIZE) & PUD_MASK;
pmd++;
pud++;
} while (address && (address < end));
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment