a19bc6
From f8747430762d9daad14f71cdd7ee98daf833e161 Mon Sep 17 00:00:00 2001
a19bc6
From: Lukas Nykryn <lnykryn@redhat.com>
a19bc6
Date: Tue, 27 Jun 2017 09:21:19 +0200
a19bc6
Subject: [PATCH] Revert "rules: move cpu hotplug rule to separate file"
a19bc6
a19bc6
This reverts commit 360d7eb0f8233d16557ef34a9e58055a67ea9b70.
a19bc6
Resolves: #1465108
a19bc6
---
a19bc6
 Makefile.am                       | 1 -
a19bc6
 rules/40-redhat-cpu-hotplug.rules | 4 ----
a19bc6
 rules/40-redhat.rules             | 3 +++
a19bc6
 3 files changed, 3 insertions(+), 5 deletions(-)
a19bc6
 delete mode 100644 rules/40-redhat-cpu-hotplug.rules
a19bc6
a19bc6
diff --git a/Makefile.am b/Makefile.am
Pablo Greco 48fc63
index 94fee02c57..e9ceac98a4 100644
a19bc6
--- a/Makefile.am
a19bc6
+++ b/Makefile.am
a19bc6
@@ -3511,7 +3511,6 @@ dist_udevrules_DATA += \
a19bc6
 	rules/80-net-setup-link.rules \
a19bc6
 	rules/95-udev-late.rules \
a19bc6
 	rules/40-redhat.rules \
a19bc6
-	rules/40-redhat-cpu-hotplug.rules \
a19bc6
 	rules/73-idrac.rules \
a19bc6
         rules/80-net-name-slot.rules
a19bc6
 
a19bc6
diff --git a/rules/40-redhat-cpu-hotplug.rules b/rules/40-redhat-cpu-hotplug.rules
a19bc6
deleted file mode 100644
Pablo Greco 48fc63
index bc5ddc8416..0000000000
a19bc6
--- a/rules/40-redhat-cpu-hotplug.rules
a19bc6
+++ /dev/null
a19bc6
@@ -1,4 +0,0 @@
a19bc6
-# do not edit this file, it will be overwritten on update
a19bc6
-
a19bc6
-# CPU hotadd request
a19bc6
-SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
a19bc6
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
Pablo Greco 48fc63
index d04c7fc9a2..34a1df9c48 100644
a19bc6
--- a/rules/40-redhat.rules
a19bc6
+++ b/rules/40-redhat.rules
a19bc6
@@ -1,5 +1,8 @@
a19bc6
 # do not edit this file, it will be overwritten on update
a19bc6
 
a19bc6
+# CPU hotadd request
a19bc6
+SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
a19bc6
+
a19bc6
 # Memory hotadd request
a19bc6
 SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/bin/uname -p", RESULT!="s390*", ATTR{state}=="offline", ATTR{state}="online"
a19bc6