* [PATCH]: -mm tree remove __exit from loop_exit
@ 2007-05-31 15:56 Prarit Bhargava
0 siblings, 0 replies; 2+ messages in thread
From: Prarit Bhargava @ 2007-05-31 15:56 UTC (permalink / raw)
To: linux-kernel, akpm, axboe, clameter, tony.luck, randy.dunlap, dgc,
sam
Cc: Prarit Bhargava
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH]: -mm tree remove __exit from loop_exit
@ 2007-05-31 15:58 Prarit Bhargava
0 siblings, 0 replies; 2+ messages in thread
From: Prarit Bhargava @ 2007-05-31 15:58 UTC (permalink / raw)
To: linux-ia64
I sent this to lkml (and a large # of cc's). Tony, please do not pick this
up in your tree. I'm posting this here just so SGI users have this info ...
P.
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-31 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 15:58 [PATCH]: -mm tree remove __exit from loop_exit Prarit Bhargava
-- strict thread matches above, loose matches on Subject: below --
2007-05-31 15:56 Prarit Bhargava
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.