Messages in this thread | | | Date | Mon, 14 Feb 2011 14:32:10 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86: fix section mismatch in reference from native_play_dead |
| |
On Mon, Feb 14, 2011 at 07:32:44AM -0500, Sergey Senozhatsky wrote: > > -int __cpuinit mwait_usable(const struct cpuinfo_x86 *c) > > +int mwait_usable(const struct cpuinfo_x86 *c) > > { > > u32 eax, ebx, ecx, edx; > > > > > > `int mwait_usable(..)' is called from `void __cpuinit select_idle_routine(...)' > > I think we still have section mismatch in this case. Is it correct?
Right, but mwait_usable() is not __cpuinit anymore and __cpuinit functions should be able to call other functions without annotation, methinks, no?
-- Regards/Gruss, Boris.
Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
| |