2013-06-24 09:46:00 +02:00
|
|
|
--- /dev/null
|
2013-08-02 07:26:48 +02:00
|
|
|
+++ systemd-206/rules/80-hotplug-cpu-mem.rules
|
2013-06-24 09:46:00 +02:00
|
|
|
@@ -0,0 +1,9 @@
|
|
|
|
+# do not edit this file, it will be overwritten on update
|
|
|
|
+
|
|
|
|
+# Hotplug physical CPU
|
|
|
|
+SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", \
|
|
|
|
+ ATTR{online}="1"
|
|
|
|
+
|
|
|
|
+# Hotplug physical memory
|
|
|
|
+SUBSYSTEM=="memory", ACTION=="add", TEST=="state", ATTR{state}=="offline", \
|
|
|
|
+ ATTR{state}="online"
|
2013-08-02 07:26:48 +02:00
|
|
|
--- systemd-206.orig/Makefile.am
|
|
|
|
+++ systemd-206/Makefile.am
|
|
|
|
@@ -2480,6 +2480,10 @@ dist_udevrules_DATA += \
|
2013-06-26 11:08:48 +02:00
|
|
|
rules/73-seat-numlock.rules
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
+dist_udevrules_DATA += \
|
|
|
|
+ rules/80-hotplug-cpu-mem.rules
|
|
|
|
+
|
|
|
|
+# ------------------------------------------------------------------------------
|
|
|
|
if ENABLE_GUDEV
|
|
|
|
if ENABLE_GTK_DOC
|
|
|
|
SUBDIRS += \
|