]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/setup_percpu.c
percpu: update embedding first chunk allocator to handle sparse units
[karo-tx-linux.git] / arch / x86 / kernel / setup_percpu.c
index 9becc5d4b518a2a1e8db0c0dfa4d73e8ed3ea188..67f6314de9f170492bdd7e3011a8da9a86c49cab 100644 (file)
@@ -234,7 +234,9 @@ static int __init setup_pcpu_embed(bool chosen)
                return -EINVAL;
 
        return pcpu_embed_first_chunk(PERCPU_FIRST_CHUNK_RESERVE,
-                                     reserve - PERCPU_FIRST_CHUNK_RESERVE);
+                                     reserve - PERCPU_FIRST_CHUNK_RESERVE,
+                                     PAGE_SIZE, NULL, pcpu_fc_alloc,
+                                     pcpu_fc_free);
 }
 
 /*