* [2.5 patch] fix .text.exit error in OSS awe_wave.c
@ 2003-03-20 15:31 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-03-20 15:31 UTC (permalink / raw)
To: linux-kernel
I got a .exit.text error in 2.5.65.
The problem is that in sound/oss/awe_wave.c the __init function
_attach_awe calls the __exit function awe_release_region.
The following patch that removes the __exit from awe_release_region
fixes it:
--- linux-2.5.65-notfull/sound/oss/awe_wave.c.old 2003-03-20 16:09:19.000000000 +0100
+++ linux-2.5.65-notfull/sound/oss/awe_wave.c 2003-03-20 16:09:40.000000000 +0100
@@ -757,7 +757,7 @@
return 0;
}
-static void __exit
+static void
awe_release_region(void)
{
if (! port_setuped) return;
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-20 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 15:31 [2.5 patch] fix .text.exit error in OSS awe_wave.c Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox