naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
4bff0a
From 72dd8d8cd1a7417805009050f859d502b1c6cf3e Mon Sep 17 00:00:00 2001
4bff0a
From: Jan Synacek <jsynacek@redhat.com>
4bff0a
Date: Thu, 6 Jun 2019 09:35:27 +0200
4bff0a
Subject: [PATCH] rules: skip memory hotplug on ppc64
4bff0a
4bff0a
Resolves (#1713159)
4bff0a
---
4bff0a
 rules/40-redhat.rules | 1 +
4bff0a
 1 file changed, 1 insertion(+)
4bff0a
4bff0a
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
4bff0a
index 17b33682bd..fadc6e59f1 100644
4bff0a
--- a/rules/40-redhat.rules
4bff0a
+++ b/rules/40-redhat.rules
4bff0a
@@ -7,6 +7,7 @@ SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}
4bff0a
 SUBSYSTEM!="memory", GOTO="memory_hotplug_end"
4bff0a
 ACTION!="add", GOTO="memory_hotplug_end"
4bff0a
 PROGRAM="/bin/uname -p", RESULT=="s390*", GOTO="memory_hotplug_end"
4bff0a
+PROGRAM="/bin/uname -p", RESULT=="ppc64*", GOTO="memory_hotplug_end"
4bff0a
 
4bff0a
 ENV{.state}="online"
4bff0a
 PROGRAM="/bin/systemd-detect-virt", RESULT=="none", ENV{.state}="online_movable"