Commit b9c6e3e96669ade31afd3a39f17393e577b609c5

Authored by Kevin Hilman
Committed by David S. Miller
1 parent 932f3772cf

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -507,7 +507,7 @@
507 507 goto out;
508 508 }
509 509  
510   -void __exit atm_proc_exit(void)
  510 +void atm_proc_exit(void)
511 511 {
512 512 atm_proc_dirs_remove();
513 513 }