Module Name: src Committed By: alnsn Date: Sun Jan 27 19:13:04 UTC 2019
Modified Files: src/sys/arch/aarch64/aarch64: netbsd32_machdep.c Log Message: Local variable p is __diagused. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/aarch64/netbsd32_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/aarch64/aarch64/netbsd32_machdep.c diff -u src/sys/arch/aarch64/aarch64/netbsd32_machdep.c:1.4 src/sys/arch/aarch64/aarch64/netbsd32_machdep.c:1.5 --- src/sys/arch/aarch64/aarch64/netbsd32_machdep.c:1.4 Sun Jan 27 02:08:36 2019 +++ src/sys/arch/aarch64/aarch64/netbsd32_machdep.c Sun Jan 27 19:13:04 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_machdep.c,v 1.4 2019/01/27 02:08:36 pgoyette Exp $ */ +/* $NetBSD: netbsd32_machdep.c,v 1.5 2019/01/27 19:13:04 alnsn Exp $ */ /* * Copyright (c) 2018 Ryo Shimizu <r...@nerv.org> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.4 2019/01/27 02:08:36 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.5 2019/01/27 19:13:04 alnsn Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -308,7 +308,7 @@ startlwp32(void *arg) int cpu_mcontext32_validate(struct lwp *l, const mcontext32_t *mcp) { - struct proc * const p = l->l_proc; + struct proc * const p __diagused = l->l_proc; const uint32_t spsr = mcp->__gregs[_REG_CPSR]; KASSERT(p->p_flag & PK_32);