Commit 22c0d018 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "modules: fix incorrect percpu usage"

This reverts commit ea0a09ac.

It should not have been applied to the .32 kernel tree.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 78a74485
......@@ -555,7 +555,7 @@ static void percpu_modcopy(void *pcpudest, const void *from, unsigned long size)
int cpu;
for_each_possible_cpu(cpu)
memcpy(per_cpu_ptr(pcpudest, cpu), from, size);
memcpy(pcpudest + per_cpu_offset(cpu), from, size);
}
#else /* ... !CONFIG_SMP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment