powerpc/mm: Add __init attribute to eligible functions
[linux-2.6-block.git] / arch / powerpc / mm / book3s64 / mmu_context.c
index 24aa953c931148bad7f1f059ae5de94399f3a7fc..c766e4c26e42ddbd3a20fd25d96d72561e936a6a 100644 (file)
@@ -32,7 +32,7 @@ static int alloc_context_id(int min_id, int max_id)
 }
 
 #ifdef CONFIG_PPC_64S_HASH_MMU
-void hash__reserve_context_id(int id)
+void __init hash__reserve_context_id(int id)
 {
        int result = ida_alloc_range(&mmu_context_ida, id, id, GFP_KERNEL);