]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - arch/powerpc/platforms/pseries/setup.c
powerpc/64: Use array of paca pointers and allocate pacas individually
[mirror_ubuntu-focal-kernel.git] / arch / powerpc / platforms / pseries / setup.c
index 372d7ada1a0c115aa9078cb1ba0d01d69a80a73d..a66005a25c55c153d00946dca45ee6230760896c 100644 (file)
@@ -246,7 +246,7 @@ static int alloc_dispatch_logs(void)
                return 0;
 
        for_each_possible_cpu(cpu) {
-               pp = &paca[cpu];
+               pp = paca_ptrs[cpu];
                dtl = kmem_cache_alloc(dtl_cache, GFP_KERNEL);
                if (!dtl) {
                        pr_warn("Failed to allocate dispatch trace log for cpu %d\n",