ia64-topology-use-default_groups-in-kobj_type.patch removed from -mm tree
The patch titled
Subject: ia64: topology: use default_groups in kobj_type
has been removed from the -mm tree. Its filename was
ia64-topology-use-default_groups-in-kobj_type.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Greg Kroah-Hartman <[email protected]>
Subject: ia64: topology: use default_groups in kobj_type
There are currently 2 ways to create a set of sysfs files for a kobj_type, through the default_attrs field, and the default_groups field. Move the ia64 topology sysfs code to use default_groups field which has been the preferred way since aa30f47cf666 ("kobject: Add support for default attribute groups to kobj_type") so that we can soon get rid of the obsolete default_attrs field.
---
arch/ia64/kernel/topology.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/ia64/kernel/topology.c renamed from arch/ia64/kernel/topology.c~ia64-topology-use-default_groups-in-kobj_type +2 -1
@@ -264,6 +264,7 @@ static struct attribute * cache_default_ &shared_cpu_map.attr, NULL }; +ATTRIBUTE_GROUPS (cache_default);#define to_object (k) container_of(k, struct cache_info, kobj)#define to_attr (a) container_of(a, struct cache_attr, attr)
@@ -284,7 +285,7 @@ static const struct sysfs_ops cache_sysfstatic struct kobj_type cache_ktype = { .sysfs_ops = &cache_sysfs_ops, - .default_attrs = cache_default_attrs, + .default_groups = cache_default_groups, };static struct kobj_type cache_ktype_percpu_entry = {
_
Patches currently in -mm which might be from [email protected] are