From: David Daney Date: Thu, 20 Aug 2009 19:35:53 +0000 (-0700) Subject: MIPS: Octeon: Check all CCAs in cvmx_write_csr. X-Git-Tag: v2.6.32-rc1~658^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2608441164fde82b7fc0dd050ca0c46be0df23f8;p=pandora-kernel.git MIPS: Octeon: Check all CCAs in cvmx_write_csr. The current code only checks CCA of 0 when deciding if a dummy read is needed. Since the kernel can (and does) use other CCAs we need to mask out the CCA bits from the address. Since the address constant now fits in 16 bits, there is an added benefit that smaller code is generated. Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed