commit | 4c456a67f501b8b15542c7c21c28812bf88f484b | [log] [tgz] |
---|---|---|
author | Gerhard Pircher <gerhard_pircher@gmx.net> | Fri Jan 23 06:51:28 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jan 28 17:15:52 2009 +1100 |
tree | 0f1de24f488a59da4a7cc3445c89f8fe48b775aa | |
parent | 69b052e828b5ff32df7f96d6d3268a069910c663 [diff] |
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 <gerhard_pircher@gmx.net> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>