]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/rtas: Don't test for machine type in rtas_initialize()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:03:54 +0000 (15:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Jul 2016 08:15:38 +0000 (18:15 +1000)
commitc9b02f850a3ad03b49a2ef4e13b3177d6beb8278
treef1a4dd12916e044875dd091f8eb56870a5d83290
parent81ec61c7e0a0fdf9e4b6af8413a964cad754f13b
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>
arch/powerpc/kernel/rtas.c