diff options
-rw-r--r-- | include/linux/slab_def.h | 4 | ||||
-rw-r--r-- | mm/slab.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index fcc48096ee64..39c3a5eb8ebe 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h | |||
@@ -41,7 +41,7 @@ static inline void *kmalloc(size_t size, gfp_t flags) | |||
41 | goto found; \ | 41 | goto found; \ |
42 | else \ | 42 | else \ |
43 | i++; | 43 | i++; |
44 | #include "kmalloc_sizes.h" | 44 | #include <linux/kmalloc_sizes.h> |
45 | #undef CACHE | 45 | #undef CACHE |
46 | { | 46 | { |
47 | extern void __you_cannot_kmalloc_that_much(void); | 47 | extern void __you_cannot_kmalloc_that_much(void); |
@@ -75,7 +75,7 @@ static inline void *kmalloc_node(size_t size, gfp_t flags, int node) | |||
75 | goto found; \ | 75 | goto found; \ |
76 | else \ | 76 | else \ |
77 | i++; | 77 | i++; |
78 | #include "kmalloc_sizes.h" | 78 | #include <linux/kmalloc_sizes.h> |
79 | #undef CACHE | 79 | #undef CACHE |
80 | { | 80 | { |
81 | extern void __you_cannot_kmalloc_that_much(void); | 81 | extern void __you_cannot_kmalloc_that_much(void); |
@@ -333,7 +333,7 @@ static __always_inline int index_of(const size_t size) | |||
333 | return i; \ | 333 | return i; \ |
334 | else \ | 334 | else \ |
335 | i++; | 335 | i++; |
336 | #include "linux/kmalloc_sizes.h" | 336 | #include <linux/kmalloc_sizes.h> |
337 | #undef CACHE | 337 | #undef CACHE |
338 | __bad_size(); | 338 | __bad_size(); |
339 | } else | 339 | } else |