]> bbs.cooldavid.org Git - net-next-2.6.git/commit
powerpc: Replace per_cpu(, smp_processor_id()) with __get_cpu_var()
authorAnton Blanchard <anton@samba.org>
Wed, 13 Jan 2010 12:04:11 +0000 (12:04 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 3 Feb 2010 06:39:48 +0000 (17:39 +1100)
commit61c03ddbdff2e080702521bc1b757854ca58c46a
treed825a44996fa080f6efff307c0ddbb81d9df0a57
parent4ba525d134a882e6994bf8f5bd93fd020376588c
powerpc: Replace per_cpu(, smp_processor_id()) with __get_cpu_var()

The cputime code has a few places that do per_cpu(, smp_processor_id()).
Replace them with __get_cpu_var().

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/cputime.h
arch/powerpc/kernel/time.c