]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/profile.c
ARM: dts: imx6ul.dtsi: add eLCDIF support
[karo-tx-linux.git] / kernel / profile.c
index 99513e1160e518d322f6d0ce0f346e6da9fcbbf0..e02d1e783eb4fc93c0a34d3951e46ea3f1454e4a 100644 (file)
@@ -336,7 +336,7 @@ static int profile_cpu_callback(struct notifier_block *info,
        switch (action) {
        case CPU_UP_PREPARE:
        case CPU_UP_PREPARE_FROZEN:
-               node = cpu_to_mem(cpu);
+               node = cpu_to_node(cpu);
                per_cpu(cpu_profile_flip, cpu) = 0;
                if (!per_cpu(cpu_profile_hits, cpu)[1]) {
                        page = __alloc_pages_node(node,