[POWERPC] 8xx: fix swap
commit76db5bd26f2d79712459bf80ce0e5c0c5c31b769
authorVitaly Bordug <vitb@kernel.crashing.org>
Thu, 6 Mar 2008 10:53:30 +0000 (6 13:53 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 7 Mar 2008 14:42:28 +0000 (7 08:42 -0600)
tree0e5723534da93040f901ed94020aef845fff0dfb
parentd7f46190ef1048e48f71c8a7a60c2881c437d08d
[POWERPC] 8xx: fix swap

This makes swap routines operate correctly on the ppc_8xx based machines.
Code has been revalidated on mpc885ads (8M sdram) with recent kernel. Based
on patch from Yuri Tikhonov <yur@emcraft.com> to do the same on arch/ppc
instance.

Recent kernel's size makes swap feature very important on low-memory platforms,
those are actually non-operable without it.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/head_8xx.S
include/asm-powerpc/pgtable-ppc32.h