From: Kevin Hilman Date: Tue, 15 Aug 2006 09:02:33 +0000 (-0700) Subject: [ATM]: Compile error on ARM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9c6e3e96669ade31afd3a39f17393e577b609c5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: David S. Miller --- diff --git a/net/atm/proc.c b/net/atm/proc.c index 3f95b0886a6a..91fe5f53ff11 100644 --- a/net/atm/proc.c +++ b/net/atm/proc.c @@ -507,7 +507,7 @@ err_out: goto out; } -void __exit atm_proc_exit(void) +void atm_proc_exit(void) { atm_proc_dirs_remove(); }