提交 cf207601 编写于 作者: A Arnd Bergmann 提交者: Paul Mackerras

powerpc/pseries: Call pseries_kexec_setup only on pseries

The pseries_kexec_setup function overwrites some ppc_md
pointers, so make sure it only gets called when running on
the right architecture.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 aee10c61
......@@ -70,4 +70,4 @@ static int __init pseries_kexec_setup(void)
return 0;
}
__initcall(pseries_kexec_setup);
machine_device_initcall(pseries, pseries_kexec_setup);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册