[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: Kevin Hilman <khilman@mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
932f3772cf
commit
b9c6e3e966
@@ -507,7 +507,7 @@ err_out:
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __exit atm_proc_exit(void)
|
void atm_proc_exit(void)
|
||||||
{
|
{
|
||||||
atm_proc_dirs_remove();
|
atm_proc_dirs_remove();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user