From b67bdb5dc72baf9b0c236956cf44fba8c396e9a8 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Tue, 15 May 2007 23:57:03 -0700 Subject: [PATCH] --- yaml --- r: 56477 b: refs/heads/master c: 1abd727ed7abf5c19e7d1760671475cbecbccb0e h: refs/heads/master i: 56475: 8fa198c358a977a2a07294b56050bdacb60a016f v: v3 --- [refs] | 2 +- trunk/include/linux/slub_def.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9478056f92c6..c7f36638968d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: faab83bbcd9e001077e42a7c085f1e871997647f +refs/heads/master: 1abd727ed7abf5c19e7d1760671475cbecbccb0e diff --git a/trunk/include/linux/slub_def.h b/trunk/include/linux/slub_def.h index fd6627e2d115..c6c1f4a120e3 100644 --- a/trunk/include/linux/slub_def.h +++ b/trunk/include/linux/slub_def.h @@ -88,7 +88,7 @@ static inline int kmalloc_index(int size) */ WARN_ON_ONCE(size == 0); - if (size >= (1 << KMALLOC_SHIFT_HIGH)) + if (size > (1 << KMALLOC_SHIFT_HIGH)) return -1; if (size > 64 && size <= 96)