diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-11-23 02:00:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-11-23 02:00:47 +0000 |
commit | 06615f62b17d7de6e12d2f5ec6b88cf30af08413 (patch) | |
tree | 8766f208847d4876a6db619aebbf54d53b76eb44 /kernel/module.c | |
parent | fa9bdb574f4febb751848a685d9a9017e04e1d53 (diff) |
Merge with Linux 2.4.0-test10.
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/kernel/module.c b/kernel/module.c index 5e5fbfe1b..15efa305c 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -28,22 +28,13 @@ extern const struct exception_table_entry __stop___ex_table[]; static struct module kernel_module = { - sizeof(struct module), /* size_of_struct */ - NULL, /* next */ - "", /* name */ - 0, /* size */ - {ATOMIC_INIT(1)}, /* usecount */ - MOD_RUNNING, /* flags */ - 0, /* nsyms -- to filled in in init_modules */ - 0, /* ndeps */ - __start___ksymtab, /* syms */ - NULL, /* deps */ - NULL, /* refs */ - NULL, /* init */ - NULL, /* cleanup */ - __start___ex_table, /* ex_table_start */ - __stop___ex_table, /* ex_table_end */ - /* Rest are NULL */ + size_of_struct: sizeof(struct module), + name: "", + uc: {ATOMIC_INIT(1)}, + flags: MOD_RUNNING, + syms: __start___ksymtab, + ex_table_start: __start___ex_table, + ex_table_end: __stop___ex_table }; struct module *module_list = &kernel_module; |