diff options
| -rw-r--r-- | mm/slab.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1544,9 +1544,6 @@ void __init kmem_cache_init(void) | |||
| 1544 | } | 1544 | } |
| 1545 | 1545 | ||
| 1546 | g_cpucache_up = EARLY; | 1546 | g_cpucache_up = EARLY; |
| 1547 | |||
| 1548 | /* Annotate slab for lockdep -- annotate the malloc caches */ | ||
| 1549 | init_lock_keys(); | ||
| 1550 | } | 1547 | } |
| 1551 | 1548 | ||
| 1552 | void __init kmem_cache_init_late(void) | 1549 | void __init kmem_cache_init_late(void) |
| @@ -1563,6 +1560,9 @@ void __init kmem_cache_init_late(void) | |||
| 1563 | /* Done! */ | 1560 | /* Done! */ |
| 1564 | g_cpucache_up = FULL; | 1561 | g_cpucache_up = FULL; |
| 1565 | 1562 | ||
| 1563 | /* Annotate slab for lockdep -- annotate the malloc caches */ | ||
| 1564 | init_lock_keys(); | ||
| 1565 | |||
| 1566 | /* | 1566 | /* |
| 1567 | * Register a cpu startup notifier callback that initializes | 1567 | * Register a cpu startup notifier callback that initializes |
| 1568 | * cpu_cache_get for all new cpus | 1568 | * cpu_cache_get for all new cpus |
