aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/slub_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/slub_def.h')
-rw-r--r--include/linux/slub_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h
index fd6627e2d115..c6c1f4a120e3 100644
--- a/include/linux/slub_def.h
+++ b/include/linux/slub_def.h
@@ -88,7 +88,7 @@ static inline int kmalloc_index(int size)
88 */ 88 */
89 WARN_ON_ONCE(size == 0); 89 WARN_ON_ONCE(size == 0);
90 90
91 if (size >= (1 << KMALLOC_SHIFT_HIGH)) 91 if (size > (1 << KMALLOC_SHIFT_HIGH))
92 return -1; 92 return -1;
93 93
94 if (size > 64 && size <= 96) 94 if (size > 64 && size <= 96)