powerpc/8xx: Use symbolic PVR value
For the 8xx, PVR values defined in arch/powerpc/include/asm/reg.h are nowhere used. Remove all defines and add PVR_8xx Use it in arch/powerpc/kernel/cputable.c Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

父節點
04f61b660f
當前提交
3ee87674e0
@@ -1262,7 +1262,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
||||
#ifdef CONFIG_PPC_8xx
|
||||
{ /* 8xx */
|
||||
.pvr_mask = 0xffff0000,
|
||||
.pvr_value = 0x00500000,
|
||||
.pvr_value = PVR_8xx,
|
||||
.cpu_name = "8xx",
|
||||
/* CPU_FTR_MAYBE_CAN_DOZE is possible,
|
||||
* if the 8xx code is there.... */
|
||||
|
Reference in New Issue
Block a user