powerpc/xmon: Show task->thread.regs in process display
[linux-2.6-microblaze.git] / kernel / module.c
index 3447f3b..646f1e2 100644 (file)
@@ -1515,7 +1515,7 @@ struct module_sect_attr {
 struct module_sect_attrs {
        struct attribute_group grp;
        unsigned int nsections;
-       struct module_sect_attr attrs[0];
+       struct module_sect_attr attrs[];
 };
 
 static ssize_t module_sect_show(struct module_attribute *mattr,
@@ -1608,7 +1608,7 @@ static void remove_sect_attrs(struct module *mod)
 struct module_notes_attrs {
        struct kobject *dir;
        unsigned int notes;
-       struct bin_attribute attrs[0];
+       struct bin_attribute attrs[];
 };
 
 static ssize_t module_notes_read(struct file *filp, struct kobject *kobj,