diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-05 01:03:54 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-13 04:15:38 -0400 |
commit | 484cc1ed3c6b90459f02977f6f5ab7810db18705 (patch) | |
tree | f1a4dd12916e044875dd091f8eb56870a5d83290 /arch/powerpc | |
parent | acd3578ed9100565ef1b39685ec0e75e5124a0d6 (diff) |
powerpc/rtas: Don't test for machine type in rtas_initialize()
The test is unnecessary, the FW_FEATURE_LPAR is sufficient as there
exist no other LPAR type that has RTAS.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 8da209fdf480..286354f00ff6 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -1174,7 +1174,7 @@ void __init rtas_initialize(void) | |||
1174 | * the stop-self token if any | 1174 | * the stop-self token if any |
1175 | */ | 1175 | */ |
1176 | #ifdef CONFIG_PPC64 | 1176 | #ifdef CONFIG_PPC64 |
1177 | if (machine_is(pseries) && firmware_has_feature(FW_FEATURE_LPAR)) { | 1177 | if (firmware_has_feature(FW_FEATURE_LPAR)) { |
1178 | rtas_region = min(ppc64_rma_size, RTAS_INSTANTIATE_MAX); | 1178 | rtas_region = min(ppc64_rma_size, RTAS_INSTANTIATE_MAX); |
1179 | ibm_suspend_me_token = rtas_token("ibm,suspend-me"); | 1179 | ibm_suspend_me_token = rtas_token("ibm,suspend-me"); |
1180 | } | 1180 | } |