summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/edac/octeon_edac-pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/edac/octeon_edac-pc.c')
-rw-r--r--kernel/drivers/edac/octeon_edac-pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/edac/octeon_edac-pc.c b/kernel/drivers/edac/octeon_edac-pc.c
index 0f83c33a7..2ab6cf24c 100644
--- a/kernel/drivers/edac/octeon_edac-pc.c
+++ b/kernel/drivers/edac/octeon_edac-pc.c
@@ -73,7 +73,7 @@ static int co_cache_error_event(struct notifier_block *this,
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);