]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] 8xx: fix swap
authorVitaly Bordug <vitb@kernel.crashing.org>
Thu, 6 Mar 2008 10:53:30 +0000 (13:53 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 7 Mar 2008 14:42:28 +0000 (08:42 -0600)
commitf2a19990336c4b0782683bafc994c0f6209f7959
tree0e5723534da93040f901ed94020aef845fff0dfb
parentcfd7ca30e9c6cb490dec20e855e4670676dd6e61
[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