projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
[linux-2.6-microblaze.git]
/
mm
/
slab_common.c
diff --git
a/mm/slab_common.c
b/mm/slab_common.c
index
23f2ab0
..
6ee64d6
100644
(file)
--- a/
mm/slab_common.c
+++ b/
mm/slab_common.c
@@
-807,7
+807,7
@@
void __init setup_kmalloc_cache_index_table(void)
unsigned int i;
BUILD_BUG_ON(KMALLOC_MIN_SIZE > 256 ||
-
(KMALLOC_MIN_SIZE & (KMALLOC_MIN_SIZE - 1)
));
+
!is_power_of_2(KMALLOC_MIN_SIZE
));
for (i = 8; i < KMALLOC_MIN_SIZE; i += 8) {
unsigned int elem = size_index_elem(i);