提交 2fc1171d 编写于 作者: L Linus Torvalds

Merge tag 'powerpc-6.0-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fix from Michael Ellerman:

 - Fix crashes on bare metal due to the new plkps driver trying to probe
   and call the hypervisor on non-pseries machines.

Thanks to Nathan Chancellor and Dan Horák.

* tag 'powerpc-6.0-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
  powerpc/pseries: Fix plpks crash on non-pseries
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/types.h> #include <linux/types.h>
#include <asm/hvcall.h> #include <asm/hvcall.h>
#include <asm/machdep.h>
#include "plpks.h" #include "plpks.h"
...@@ -457,4 +458,4 @@ static __init int pseries_plpks_init(void) ...@@ -457,4 +458,4 @@ static __init int pseries_plpks_init(void)
return rc; return rc;
} }
arch_initcall(pseries_plpks_init); machine_arch_initcall(pseries, pseries_plpks_init);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册