diff options
-rw-r--r-- | kernel/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c index d5938a5c19c4..523c40b71777 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -1627,7 +1627,7 @@ void unset_section_ro_nx(struct module *mod, void *module_region) | |||
1627 | } | 1627 | } |
1628 | 1628 | ||
1629 | /* Iterate through all modules and set each module's text as RW */ | 1629 | /* Iterate through all modules and set each module's text as RW */ |
1630 | void set_all_modules_text_rw() | 1630 | void set_all_modules_text_rw(void) |
1631 | { | 1631 | { |
1632 | struct module *mod; | 1632 | struct module *mod; |
1633 | 1633 | ||
@@ -1648,7 +1648,7 @@ void set_all_modules_text_rw() | |||
1648 | } | 1648 | } |
1649 | 1649 | ||
1650 | /* Iterate through all modules and set each module's text as RO */ | 1650 | /* Iterate through all modules and set each module's text as RO */ |
1651 | void set_all_modules_text_ro() | 1651 | void set_all_modules_text_ro(void) |
1652 | { | 1652 | { |
1653 | struct module *mod; | 1653 | struct module *mod; |
1654 | 1654 | ||