Re: sparc32 modpost warnings from init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Habets <errandir_news@xxxxxxxxxxxxxxxxx>
Date: Sun, 15 Oct 2006 21:05:47 +0100

> I am left with the warnings below in the sparc build of 2.6.19-rc2. They
> all originate from init() (init/main.c). This function should definitely
> remain in .text and it is fine it calls to .init.text functions.
> 
> The patch below against modpost makes it ignore this function, but I am
> not sure:
> - if this is the correct solution
> - if this code should be sparc-specific
> Any input on how to get rid of these warnings is welcome.

I don't know what to make of this :-)

On the one hand we do indeed need to keep init() in .text because
init memory is released before the init thread exec()'s, but on
the other hand filtering init() specially in modpost is a little
bit hackish.

But if Sam has no problem with this change, I'm not going to
object either.  Sam?
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux