Skip to content

Commit

Permalink
Revert "modules: fix incorrect percpu usage"
Browse files Browse the repository at this point in the history
This reverts commit ea0a09a.

It should not have been applied to the .32 kernel tree.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jun 1, 2010
1 parent 78a7448 commit 22c0d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 22c0d01

Please sign in to comment.