]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - mm/slab.h
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / mm / slab.h
index bc05fdc3edce106b12e5113ad8c8777de6de217d..610cf61634f068cbd54a4ce4f5721bce8470a1cf 100644 (file)
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -426,7 +426,11 @@ static inline void slab_post_alloc_hook(struct kmem_cache *s, gfp_t flags,
  * The slab lists for all objects.
  */
 struct kmem_cache_node {
+#ifdef CONFIG_SLUB
+       raw_spinlock_t list_lock;
+#else
        spinlock_t list_lock;
+#endif
 
 #ifdef CONFIG_SLAB
        struct list_head slabs_partial; /* partial list first, better asm code */