From: Gerhard Pircher Date: Fri, 23 Jan 2009 06:51:28 +0000 (+0000) Subject: powerpc/mm: Fix handling of _PAGE_COHERENT in BAT setup code X-Git-Tag: v2.6.29-rc3~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c456a67f501b8b15542c7c21c28812bf88f484b;p=pandora-kernel.git powerpc/mm: Fix handling of _PAGE_COHERENT in BAT setup code _PAGE_COHERENT is now always set in _PAGE_RAM resp. PAGE_KERNEL. Thus it has to be masked out, if the BAT mapping should be non cacheable or CPU_FTR_NEED_COHERENT is not set. This will work on normal SMP setups because we force-set CPU_FTR_NEED_COHERENT as part of CPU_FTR_COMMON on SMP. Signed-off-by: Gerhard Pircher Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed