提交 4bece972 编写于 作者: M Michael Ellerman

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: NShreyas B Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 2dc710e9
......@@ -17,6 +17,7 @@
#include <linux/cpu.h>
#include <asm/firmware.h>
#include <asm/machdep.h>
#include <asm/opal.h>
#include <asm/cputhreads.h>
#include <asm/cpuidle.h>
......@@ -289,5 +290,4 @@ static int __init pnv_init_idle_states(void)
out:
return 0;
}
subsys_initcall(pnv_init_idle_states);
machine_subsys_initcall(powernv, pnv_init_idle_states);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册