Skip to contentSkip to conversation

fix .text.exit error in OSS awe_wave.c

PATCH New Adrian Bunk 1 participant 1 message Mar 20, 2003 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix .text.exit error in OSS awe_wave.c

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:

sound/oss/awe_wave.c renamed from sound/oss/awe_wave.c.old +1 -1
@@ -757,7 +757,7 @@
 	return 0;
 }
 
-static void __exit
+static void
 awe_release_region(void)
 {
 	if (! port_setuped) return;

cu
Adrian

Signature · 4 lines
       "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