]> err.no Git - linux-2.6/commit
[PATCH] ppc32: Kill PVR_440* defines
authorTom Rini <trini@kernel.crashing.org>
Fri, 9 Sep 2005 20:01:48 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:29 +0000 (13:57 -0700)
commit95409aaca734700e8dcba9db685b8600b67ba05d
tree7fe2aa4015a9d50636aeee6a6a8f62401340e0aa
parent66b375bf7d9c995fd6169191c3862071e710f456
[PATCH] ppc32: Kill PVR_440* defines

The following patch changes the usages of PVR_440* into strcmp's with the
cpu_name field, and removes the defines altogether.  The Ebony portion was
briefly tested long ago.  One benefit of moving from PVR-tests to string
tests in general is that not all CPUs can be on and be able to do this type
of comparison.

See http://patchwork.ozlabs.org/linuxppc/patch?id=1250 for the original
thread.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/platforms/4xx/ebony.c
arch/ppc/syslib/ibm440gx_common.c
include/asm-ppc/reg.h