x86-32: make sure virt_addr_valid() returns false for fixmap addresses
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 6 Mar 2009 18:09:26 +0000 (10:09 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 8 Mar 2009 19:03:52 +0000 (20:03 +0100)
commit0feca851c1b3cb4ebfa3149144b3d5de0879ebaa
tree41762096e1faebbc512b07fcfb7627fa2d1c688e
parente954ef20c29b7af07a8cb5452f14fb69e3d9d2b2
x86-32: make sure virt_addr_valid() returns false for fixmap addresses

I found that virt_addr_valid() was returning true for fixmap addresses.

I'm not sure whether pfn_valid() is supposed to include this test,
but there's no harm in being explicit.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <49B166D6.2080505@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/ioremap.c