[POWERPC] Mark pages that don't exist as nosave
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 8 May 2007 09:25:00 +0000 (19:25 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 9 May 2007 06:34:56 +0000 (16:34 +1000)
commit4e8ad3e816cca76ff8550e531103fc5e20471654
treeb532e3419526d1aaa5ace5955c92a61ba2259499
parent940d67f6b95166475ff6e600ef7658e1cd441278
[POWERPC] Mark pages that don't exist as nosave

On some powerpc architectures (notably 64-bit powermac) there is a memory
hole, for example on powermacs between 2G and 4G. Since we use the flat
memory model regardless, these pages must be marked as nosave (for suspend
to disk.)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/mem.c