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 02:33:58PM +0900, Kengo NAKAHARA 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.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index