Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9c6e3e9 authored by Kevin Hilman's avatar Kevin Hilman Committed by David S. Miller
Browse files

[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: default avatarKevin Hilman <khilman@mvista.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 932f3772
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -507,7 +507,7 @@ int __init atm_proc_init(void)
	goto out;
}

void __exit atm_proc_exit(void)
void atm_proc_exit(void)
{
	atm_proc_dirs_remove();
}