powerpc/powernv: pnv_init_idle_states() should only run on powernv
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 15 Jun 2015 05:01:32 +0000 (15:01 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 15 Jun 2015 06:45:12 +0000 (16:45 +1000)
commit4bece972fce6e597cb513bdcae4a04e14fc0dd81
treea2ba37c023975a83f62bee7aed3df374a26db40e
parent2dc710e93c303f2a33d4fecbcc7e8088f2776604
powerpc/powernv: pnv_init_idle_states() should only run on powernv

Although this init call checks for device tree properties before doing
anything, it should still only run on powernv machines.

Reviewed-by: Shreyas B Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/idle.c