svn commit: r305811 - head/sys/amd64/amd64

Bruce Evans brde at optusnet.com.au
Wed Sep 14 17:28:00 UTC 2016


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


More information about the svn-src-all mailing list