x86, iomap: Fix wrong page aligned size calculation in ioremapping code
authorFlorian Zumbiehl <florz@florz.de>
Tue, 20 Jul 2010 22:19:47 +0000 (15:19 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 23:56:35 +0000 (16:56 -0700)
commit468c30f2bbdf1ba0fbf16667eade23a46eaa8f06
tree6822a6db298f5ae6a39fd317d00c3181c7982506
parent92851e2fca48f1893f899963c13b55b61ac6956c
x86, iomap: Fix wrong page aligned size calculation in ioremapping code

x86 early_iounmap(): fix off-by-one error in page alignment of allocation
size for sizes where size%PAGE_SIZE==1.

Signed-off-by: Florian Zumbiehl <florz@florz.de>
LKML-Reference: <201007202219.o6KMJlES021058@imap1.linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/ioremap.c