Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2016 03:08:00 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r305811 - head/sys/amd64/amd64
Message-ID:  <20160915030636.S2324@besplex.bde.org>
In-Reply-To: <201609141608.u8EG8O9H001240@repo.freebsd.org>
References:  <201609141608.u8EG8O9H001240@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Sep 2016, Bjoern A. Zeeb wrote:

> Log:
>  Try to fix LINT builds after r305807.  Seems to be a simple s&r error
>  I missed while reading through the 1st time as well.

Thanks.  The fix looks right.

> Modified:
>  head/sys/amd64/amd64/trap.c
>
> Modified: head/sys/amd64/amd64/trap.c
> ==============================================================================
> --- head/sys/amd64/amd64/trap.c	Wed Sep 14 14:48:00 2016	(r305810)
> +++ head/sys/amd64/amd64/trap.c	Wed Sep 14 16:08:23 2016	(r305811)
> @@ -934,7 +934,7 @@ amd64_syscall(struct thread *td, int tra
> 	ksiginfo_t ksi;
>
> #ifdef DIAGNOSTIC
> -	if (!TRAPF_USERMODE(frame)) {
> +	if (!TRAPF_USERMODE(td->td_frame)) {
> 		panic("syscall");
> 		/* NOT REACHED */
> 	}

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160915030636.S2324>