diff options
author | Michael Neuling <mikey@neuling.org> | 2016-02-19 03:16:22 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-02-22 12:47:46 +0300 |
commit | ce5732a28dd09956540f61ba9d902b63e73a1232 (patch) | |
tree | b009d1549eb3cf401b5e15076cafca3b7dc91367 /arch/powerpc/platforms/powernv/subcore.c | |
parent | 88409d0c863b3ba7d9e3090fb46cdce16207a1d8 (diff) | |
download | linux-ce5732a28dd09956540f61ba9d902b63e73a1232.tar.xz |
powerpc/powernv: Create separate subcores CPU feature bit
Subcores isn't really part of the 2.07 architecture but currently we
turn it on using the 2.07 feature bit. Subcores is really a POWER8
specific feature.
This adds a new CPU_FTR bit just for subcores and moves the subcore
init code over to use this.
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/subcore.c')
-rw-r--r-- | arch/powerpc/platforms/powernv/subcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/subcore.c b/arch/powerpc/platforms/powernv/subcore.c index 503a73f59359..0babef11136f 100644 --- a/arch/powerpc/platforms/powernv/subcore.c +++ b/arch/powerpc/platforms/powernv/subcore.c @@ -407,7 +407,7 @@ static DEVICE_ATTR(subcores_per_core, 0644, static int subcore_init(void) { - if (!cpu_has_feature(CPU_FTR_ARCH_207S)) + if (!cpu_has_feature(CPU_FTR_SUBCORE)) return 0; /* |