]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Rename 64-bit PVR constants to PVR_foo
authorMichael Ellerman <michael@ellerman.id.au>
Sun, 19 Aug 2012 21:44:01 +0000 (21:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Sep 2012 05:19:35 +0000 (15:19 +1000)
commitd3dbeef657fdc9e870e0b01f811bbb906af052f8
tree85f19e5f69ac6ae8d71bc8d9d6bd6d6ef70a4395
parentd1cfc0ce5d3196ccd88b9d868bb7cbcab61e0a31
powerpc: Rename 64-bit PVR constants to PVR_foo

We have an old FIXME in reg.h which points out that we should standardise
on PVR_foo for our PVR #defines. Currently we use PVR_ on 32-bit and PV_
on 64-bit.

So do that rename and remove the FIXME.

Seeing as we're touching all but one usage of __is_processor(), rename it
to something less ugly and more indicative of what it does, which is
simply to check the PVR version.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/prom_init.c
arch/powerpc/oprofile/op_model_power4.c
arch/powerpc/perf/core-book3s.c
drivers/scsi/ipr.c