]> git.karo-electronics.de Git - linux-beck.git/blobdiff - mm/slub.c
ASoC: Intel: boards: add DEEP_BUFFER support for BYT/CHT/BSW
[linux-beck.git] / mm / slub.c
index 97695622a85808cb92e69d807a07aed9101bacce..7cb4bf9ae32002494e519130a71af0532de4af87 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1507,10 +1507,7 @@ static void free_slab(struct kmem_cache *s, struct page *page)
                        VM_BUG_ON(s->reserved != sizeof(*head));
                        head = page_address(page) + offset;
                } else {
-                       /*
-                        * RCU free overloads the RCU head over the LRU
-                        */
-                       head = (void *)&page->lru;
+                       head = &page->rcu_head;
                }
 
                call_rcu(head, rcu_free_slab);