public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <kevin@hilman.org>
To: Linux-atm-general@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] net/atm compile error on ARM
Date: Mon, 14 Aug 2006 12:28:09 -0700	[thread overview]
Message-ID: <44E0CEC9.2050308@hilman.org> (raw)

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>

Index: ixp4xx/net/atm/proc.c
===================================================================
--- ixp4xx.orig/net/atm/proc.c
+++ ixp4xx/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();
 }

             reply	other threads:[~2006-08-14 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-14 19:28 Kevin Hilman [this message]
2006-08-15  9:02 ` [PATCH] net/atm compile error on ARM David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E0CEC9.2050308@hilman.org \
    --to=kevin@hilman.org \
    --cc=Linux-atm-general@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox