static int l2_line_sz;
int ioc_exists;
-volatile int slc_enable = 1;
+volatile int slc_enable = 1, ioc_enable = 1;
void (*_cache_line_loop_ic_fn)(unsigned long paddr, unsigned long vaddr,
unsigned long sz, const int cacheop);
p->sz_k, p->line_len, IS_USED_RUN(slc_enable));
if (ioc_exists)
- n += scnprintf(buf + n, len - n, "IOC\t\t: exists\n");
+ n += scnprintf(buf + n, len - n, "IOC\t\t:%s\n",
+ IS_USED_RUN(ioc_enable));
return buf;
}
}
READ_BCR(ARC_REG_CLUSTER_BCR, cbcr);
- if (cbcr.c)
+ if (cbcr.c && ioc_enable)
ioc_exists = 1;
}