|
@@ -575,8 +575,8 @@ int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
|
|
|
struct module *, unsigned long),
|
|
|
void *data);
|
|
|
|
|
|
-extern void __module_put_and_exit(struct module *mod, long code)
|
|
|
- __attribute__((noreturn));
|
|
|
+extern void __noreturn __module_put_and_exit(struct module *mod,
|
|
|
+ long code);
|
|
|
#define module_put_and_exit(code) __module_put_and_exit(THIS_MODULE, code)
|
|
|
|
|
|
#ifdef CONFIG_MODULE_UNLOAD
|