powerpc/mm: Respect _PAGE_COHERENT on classic ppc32 SW
authorKumar Gala <galak@kernel.crashing.org>
Tue, 17 Mar 2009 15:17:50 +0000 (09:17 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 17 Mar 2009 15:17:50 +0000 (09:17 -0600)
commita4bd6a93c3f14691c8a29e53eb04dc734b27f0db
treeef9492ba17bc86925bebf91282f286822efcfed2
parentc9310920e6e7ae0a5c0accbd57d34c194cb31780
powerpc/mm: Respect _PAGE_COHERENT on classic ppc32 SW

Since we now set _PAGE_COHERENT in the Linux PTE we shouldn't be clearing
it out before we setup the SW TLB.  Today all the SW TLB machines
(603/e300) that we support are non-SMP, however there are some errata on
some devices that cause us to set _PAGE_COHERENT via CPU_FTR_NEED_COHERENT.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/kernel/head_32.S