Skip to content

Commit d6d1aa5

Browse files
NickJackolsonAlexander Gordeev
authored andcommitted
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: Heiko Carstens <[email protected]> Acked-by: Alexander Gordeev <[email protected]> Signed-off-by: Mete Durlu <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent bb748ba commit d6d1aa5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

arch/s390/kernel/topology.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -320,16 +320,10 @@ static int __arch_update_cpu_topology(void)
320320

321321
int arch_update_cpu_topology(void)
322322
{
323-
struct device *dev;
324-
int cpu, rc;
323+
int rc;
325324

326325
rc = __arch_update_cpu_topology();
327326
on_each_cpu(__arch_update_dedicated_flag, NULL, 0);
328-
for_each_online_cpu(cpu) {
329-
dev = get_cpu_device(cpu);
330-
if (dev)
331-
kobject_uevent(&dev->kobj, KOBJ_CHANGE);
332-
}
333327
return rc;
334328
}
335329

0 commit comments

Comments
 (0)