diff options
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r-- | litmus/litmus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index 11ccaafd50de..8a643dffc02d 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -33,6 +33,7 @@ atomic_t release_master_cpu = ATOMIC_INIT(NO_CPU); | |||
33 | 33 | ||
34 | static struct kmem_cache * bheap_node_cache; | 34 | static struct kmem_cache * bheap_node_cache; |
35 | extern struct kmem_cache * release_heap_cache; | 35 | extern struct kmem_cache * release_heap_cache; |
36 | extern struct kmem_cache * server_release_cache; | ||
36 | 37 | ||
37 | struct bheap_node* bheap_node_alloc(int gfp_flags) | 38 | struct bheap_node* bheap_node_alloc(int gfp_flags) |
38 | { | 39 | { |
@@ -521,6 +522,7 @@ static int __init _init_litmus(void) | |||
521 | 522 | ||
522 | bheap_node_cache = KMEM_CACHE(bheap_node, SLAB_PANIC); | 523 | bheap_node_cache = KMEM_CACHE(bheap_node, SLAB_PANIC); |
523 | release_heap_cache = KMEM_CACHE(release_heap, SLAB_PANIC); | 524 | release_heap_cache = KMEM_CACHE(release_heap, SLAB_PANIC); |
525 | server_release_cache = KMEM_CACHE(release_heap, SLAB_PANIC); | ||
524 | 526 | ||
525 | #ifdef CONFIG_MAGIC_SYSRQ | 527 | #ifdef CONFIG_MAGIC_SYSRQ |
526 | /* offer some debugging help */ | 528 | /* offer some debugging help */ |
@@ -540,6 +542,7 @@ static void _exit_litmus(void) | |||
540 | exit_litmus_proc(); | 542 | exit_litmus_proc(); |
541 | kmem_cache_destroy(bheap_node_cache); | 543 | kmem_cache_destroy(bheap_node_cache); |
542 | kmem_cache_destroy(release_heap_cache); | 544 | kmem_cache_destroy(release_heap_cache); |
545 | kmem_cache_destroy(server_release_cache); | ||
543 | } | 546 | } |
544 | 547 | ||
545 | module_init(_init_litmus); | 548 | module_init(_init_litmus); |