[Patch] Fix unnecesary meminit

2007-05-08 Thread Yasunori Goto
> > It doesn't make a lot of sense to export an __init symbol to modules. I > > guess it's OK in this case, but we get warnings: > > It seems wrong to me to first tell linker to discard the code after init and > next to export the symbol to make it available for any module anytime. > > Both

[Patch] Fix unnecesary meminit

2007-05-08 Thread Yasunori Goto
It doesn't make a lot of sense to export an __init symbol to modules. I guess it's OK in this case, but we get warnings: It seems wrong to me to first tell linker to discard the code after init and next to export the symbol to make it available for any module anytime. Both function are