Re: section mismatches from sun4v*_patch in trampoline.S

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

 



From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Sat, 2 Jun 2007 22:32:06 +0200

> I do not know if it is OK to use .init.text??
> I would assume that CONFIG_HOTPLUG_CPU had impact here.

The __INIT and __INITDATA assembler macros in linux/init.h for a while
would select the section properly based upon whether CPU hotplug was
enabled or not, but that got reverted by:

838c41184fee5e151c09972f2ba90c16493af614

I guess it's much better to put the ugly ifdefs into the assembler
code by someone's estimation :-( That's how the x86 trampoline.S, for
example, is handling this.

The sparc64 trampoline.S should definitely use .init.foo when
CPU hotplug is enabled.
-
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