]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/linux/slab_def.h
sched: Implement task_nice() as static inline function
[mirror_ubuntu-zesty-kernel.git] / include / linux / slab_def.h
index 40fc39d22d53a3e8ca25122154861877cf946f94..8235dfbb3b050e090868b35c2abc143ef5cf253b 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _LINUX_SLAB_DEF_H
 #define        _LINUX_SLAB_DEF_H
 
+#include <linux/reciprocal_div.h>
+
 /*
  * Definitions unique to the original Linux SLAB allocator.
  */
@@ -12,7 +14,7 @@ struct kmem_cache {
        unsigned int shared;
 
        unsigned int size;
-       u32 reciprocal_buffer_size;
+       struct reciprocal_value reciprocal_buffer_size;
 /* 2) touched by every alloc & free from the backend */
 
        unsigned int flags;             /* constant flags */