From fa5a7d49ecbe40e2e33f1d165a4522d9b4315531 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Mon, 22 Sep 2014 07:41:06 +0200 Subject: [PATCH] rules: automatically online hot-added CPUs RHEL-only patch Resolves: #968811 --- Makefile.am | 3 ++- rules/40-redhat.rules | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rules/40-redhat.rules diff --git a/Makefile.am b/Makefile.am index 30ab13c..54941c0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2220,7 +2220,8 @@ dist_udevrules_DATA += \ rules/75-tty-description.rules \ rules/78-sound-card.rules \ rules/80-net-name-slot.rules \ - rules/95-udev-late.rules + rules/95-udev-late.rules \ + rules/40-redhat.rules dist_udevhwdb_DATA = \ hwdb/20-pci-vendor-model.hwdb \ diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules new file mode 100644 index 0000000..2b494e5 --- /dev/null +++ b/rules/40-redhat.rules @@ -0,0 +1,3 @@ +# do not edit this file, it will be overwritten on update + +SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"