Commit 26084411 authored by Committed by Ralf BaechleBrowse files
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 <firstname.lastname@example.org> Signed-off-by: Ralf Baechle <email@example.com>
Showing with 1 addition and 1 deletion