uml: remove map_cb
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:31:24 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:31 +0000 (09:44 -0800)
commitab26a5276c1b0945c3281a73b3a89d025906c880
tree1a0e98af4b4b35bfb26e664c08ec149f943eabab
parent47afa1d5f826606def7c498e93ec79a905042c56
uml: remove map_cb

John Reiser noticed that a physical memory region was being mapped twice.

This patch fixes that, and it inlines the responsible function, as that had
only one caller.

Cc: John Reiser <jreiser@BitWagon.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/mem.c