[1/2,v2] powerpc: Define PV_POWER7p

Message ID 20120716212202.GA14033@us.ibm.com
State Accepted, archived
Delegated to: Benjamin Herrenschmidt
Headers show

Commit Message

Sukadev Bhattiprolu July 16, 2012, 9:22 p.m.
From 7e47842eb50d56bdeba44ea526979ee5160dbbc0 Mon Sep 17 00:00:00 2001
From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Date: Tue, 3 Jul 2012 13:32:46 -0700
Subject: [PATCH 1/2][v2] powerpc: Define PV_POWER7p

This change is based on the patch that Carl Love posted to LKML


It is included here for completeness and to enable building. When
the above patch is merged, this patch can be ignored.

	- [Gabriel Paubert] Rename PV_POWER7P to PV_POWER7p and keep the
	  processor versions in numeric order.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
 arch/powerpc/include/asm/reg.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h
index f0cb7f4..65b6164 100644
--- a/arch/powerpc/include/asm/reg.h
+++ b/arch/powerpc/include/asm/reg.h
@@ -1015,9 +1015,10 @@ 
 #define PV_POWER6	0x003E
 #define PV_POWER7	0x003F
 #define PV_630		0x0040
-#define PV_630p	0x0041
+#define PV_630p		0x0041
 #define PV_970MP	0x0044
 #define PV_970GX	0x0045
+#define PV_POWER7p	0x004A
 #define PV_BE		0x0070
 #define PV_PA6T		0x0090