Skip to content

Commit 2fc1171

Browse files
committed
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
2 parents 9b45094 + a66de52 commit 2fc1171

File tree

1 file changed

+2
-1
lines changed
  • arch/powerpc/platforms/pseries

1 file changed

+2
-1
lines changed

arch/powerpc/platforms/pseries/plpks.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/string.h>
1818
#include <linux/types.h>
1919
#include <asm/hvcall.h>
20+
#include <asm/machdep.h>
2021

2122
#include "plpks.h"
2223

@@ -457,4 +458,4 @@ static __init int pseries_plpks_init(void)
457458

458459
return rc;
459460
}
460-
arch_initcall(pseries_plpks_init);
461+
machine_arch_initcall(pseries, pseries_plpks_init);

0 commit comments

Comments
 (0)