From: Prarit Bhargava <prarit@redhat.com>
To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
axboe@kernel.dk, clameter@sgi.com, tony.luck@intel.com,
randy.dunlap@oracle.com, dgc@sgi.com, sam@ravnborg.org
Cc: Prarit Bhargava <prarit@redhat.com>
Subject: [PATCH]: -mm tree remove __exit from loop_exit
Date: Thu, 31 May 2007 11:56:37 -0400 [thread overview]
Message-ID: <20070531155637.21151.32534.sendpatchset@prarit.boston.redhat.com> (raw)
Andrew, please patch ASAP as compile on SGI ia64 is broken. Please note this
patch does not address why modpost did not pick up this error.
ie) ./scripts/mod/modpost drivers/block/built-in.o yields no information about
the section mismatch. AFAIK, it should spit out a loud WARNING.
Patch against 2.6.22-rc3-mm1.
Current mm tree does not build with sn2_defconfig. Build results in error:
`.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
make: *** [.tmp_vmlinux1] Error 1
__exit loop_exit is now being called from __init loop_init which causes this error.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
--- linux/drivers/block/loop.c.orig 2007-05-31 11:15:21.000000000 -0400
+++ linux/drivers/block/loop.c 2007-05-31 11:11:05.000000000 -0400
@@ -1456,7 +1456,7 @@ static struct kobject *loop_probe(dev_t
return kobj;
}
-static void __exit loop_exit(void)
+static void loop_exit(void)
{
unsigned long range;
struct loop_device *lo, *next;
reply other threads:[~2007-05-31 15:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070531155637.21151.32534.sendpatchset@prarit.boston.redhat.com \
--to=prarit@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=clameter@sgi.com \
--cc=dgc@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=sam@ravnborg.org \
--cc=tony.luck@intel.com \
/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
all inboxes | Powered by JetHome®