aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2008-06-02 06:07:25 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-22 00:54:56 -0400
commita231934bdf086a4fefc0df06e669499125a9db6f (patch)
tree1851034ec06e50a4d7f49184ffd2cba883414ce0
parent6d8333c24d41637f0f847f6e17032189dae08c02 (diff)
kobject: reorder kobject to save space on 64 bit builds
reorder kobject to save space on 64 bit builds. shrinks from 72 to 64 bytes & moves allocated kobject to a smaller slab. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--include/linux/kobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index d542faa6cb47..60f0d418ae32 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -58,12 +58,12 @@ enum kobject_action {
58 58
59struct kobject { 59struct kobject {
60 const char *name; 60 const char *name;
61 struct kref kref;
62 struct list_head entry; 61 struct list_head entry;
63 struct kobject *parent; 62 struct kobject *parent;
64 struct kset *kset; 63 struct kset *kset;
65 struct kobj_type *ktype; 64 struct kobj_type *ktype;
66 struct sysfs_dirent *sd; 65 struct sysfs_dirent *sd;
66 struct kref kref;
67 unsigned int state_initialized:1; 67 unsigned int state_initialized:1;
68 unsigned int state_in_sysfs:1; 68 unsigned int state_in_sysfs:1;
69 unsigned int state_add_uevent_sent:1; 69 unsigned int state_add_uevent_sent:1;