tech-kern archive

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

Re: amd64 profiling kernel build failure



On Fri, Jan 08, 2016 at 06:50:02AM +0000, David Holland wrote:
 >  > --- a/sys/kern/subr_prof.c
 >  > +++ b/sys/kern/subr_prof.c
 >  > @@ -48,6 +48,10 @@ __KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.47 2014/07/10 21:13:52 christos Exp
 >  >  #include <sys/malloc.h>
 >  >  #include <sys/gmon.h>
 >  >  
 >  > +#ifdef MULTIPROCESSOR
 >  > +__cpu_simple_lock_t __mcount_lock;
 >  > +#endif
 >  > +
 > 
 > This should be in an MD file. Not sure offhand which one.

Also, the i386 profile.h needs the same change as the amd64 one, so
the md file should probably be one in arch/x86/x86.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index