Commit d6d1aa51 authored by Mete Durlu's avatar Mete Durlu Committed by Alexander Gordeev
Browse files

s390/topology: Remove CPU KOBJ_CHANGE uevents



s390 generates KOBJ_CHANGE uevents on CPUs whenever a topology update
occurs. These uevents currently have no users and they are also not
present on other architectures. As they are not necessary, remove
these extra uevents.

Suggested-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Acked-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: default avatarMete Durlu <meted@linux.ibm.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent bb748bad
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -320,16 +320,10 @@ static int __arch_update_cpu_topology(void)

int arch_update_cpu_topology(void)
{
	struct device *dev;
	int cpu, rc;
	int rc;

	rc = __arch_update_cpu_topology();
	on_each_cpu(__arch_update_dedicated_flag, NULL, 0);
	for_each_online_cpu(cpu) {
		dev = get_cpu_device(cpu);
		if (dev)
			kobject_uevent(&dev->kobj, KOBJ_CHANGE);
	}
	return rc;
}