On Wed, Jul 18, 2012 at 04:59:38PM +1000, Bruce Evans wrote: > On Wed, 18 Jul 2012, Konstantin Belousov wrote: > Putting the definiton in machine/pcpu.h should avoid changing the > prerequistes for machine/pcb.h. > > >#ifndef _KERNEL > >/* stuff that *used* to be included by user.h, or is now needed */ > > > >Please note the location in pcb.h an not in machine/pcpu.h, where it > >cannot work for technical reasons (struct pcpu is not defined yet). > > Not applicable -- see above. No, this cannot work. machine/pcpu.h defines PCPU_MD_FIELDS which is used to provide md part of the struct pcpu.
pgpHjxXBX9htB.pgp
Description: PGP signature
