--- zzzz-none-000/linux-3.10.107/drivers/edac/octeon_edac-pc.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/edac/octeon_edac-pc.c 2021-02-04 17:41:59.000000000 +0000 @@ -73,7 +73,7 @@ edac_device_handle_ce(p->ed, cpu, 0, "dcache"); /* Clear the error indication */ - if (OCTEON_IS_MODEL(OCTEON_FAM_2)) + if (OCTEON_IS_OCTEON2()) write_octeon_c0_dcacheerr(1); else write_octeon_c0_dcacheerr(0);