> +static inline void l2x0_flush_all(void) > +{ > + /* clean and invalidate all ways */ > + sync_writel(0xff, L2X0_CLEAN_INV_WAY, 0xff); > + cache_sync(); > +} Note that this patch is out of date; it won't apply to current kernels and build.