]> 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)
commit494b3bc04de3716367deff18c12d7c70719e4fcb
treef1a4dd12916e044875dd091f8eb56870a5d83290
parent20b17c2bf45f7cbe346dcc8c0b4383d1aa1d4630
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