提交 b9c6e3e9 编写于 作者: K Kevin Hilman 提交者: David S. Miller

[ATM]: Compile error on ARM

atm_proc_exit() is declared as __exit, and thus in .exit.text.  On
some architectures (ARM) .exit.text is discarded at compile time, and
since atm_proc_exit() is called by some other __init functions, it
results in a link error.
Signed-off-by: NKevin Hilman <khilman@mvista.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 932f3772
...@@ -507,7 +507,7 @@ int __init atm_proc_init(void) ...@@ -507,7 +507,7 @@ int __init atm_proc_init(void)
goto out; goto out;
} }
void __exit atm_proc_exit(void) void atm_proc_exit(void)
{ {
atm_proc_dirs_remove(); atm_proc_dirs_remove();
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册