]> git.hungrycats.org Git - linux/commit
[PATCH] uml: iomem fix
authorJeff Dike <jdike@addtoit.com>
Fri, 17 Sep 2004 05:12:22 +0000 (22:12 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 17 Sep 2004 05:12:22 +0000 (22:12 -0700)
commit74c81f8c4ed15a900dc305d4ad4686e62a4ea085
tree5f69d6aeeb5b51faa8edd5d1b4525a92504b6ebb
parent1f9961abae58ff76af2b43e1d2977d220b46beea
[PATCH] uml: iomem fix

This patch rounds up the size of a file used for iomem emulation up to the
nearest page.  This makes mmap work much better on the last page of the
file.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/mem_user.c