diff --git a/net/oenetcls/oenetcls_l0.c b/net/oenetcls/oenetcls_l0.c index b820a1cf96bd7934ae66bae13716663c0dfcaf3c..2a12734e53b3e945f4682e4a8bfa9cd97f1b1cc0 100644 --- a/net/oenetcls/oenetcls_l0.c +++ b/net/oenetcls/oenetcls_l0.c @@ -147,6 +147,9 @@ void init_oecls_l0_cache(void) int ret = 0; struct l0_vma_data *sbkpages; + /* L0 cache is not support by some platforms, work around this */ + return; + oecls_l0_cache = kzalloc(sizeof(*oecls_l0_cache), GFP_KERNEL); if (!oecls_l0_cache) { oecls_error("kzalloc oecls_l0_cache fail!\n");