Author: andrew Date: Tue May 31 11:32:09 2016 New Revision: 301034 URL: https://svnweb.freebsd.org/changeset/base/301034
Log: Set oldfp so the check for fp == oldfp works as expected. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c Modified: head/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c ============================================================================== --- head/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c Tue May 31 11:32:07 2016 (r301033) +++ head/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c Tue May 31 11:32:09 2016 (r301034) @@ -119,7 +119,7 @@ dtrace_getustack_common(uint64_t *pcstac volatile uint16_t *flags = (volatile uint16_t *)&cpu_core[curcpu].cpuc_dtrace_flags; int ret = 0; - uintptr_t oldfp; + uintptr_t oldfp = fp; ASSERT(pcstack == NULL || pcstack_limit > 0); @@ -168,6 +168,8 @@ dtrace_getustack_common(uint64_t *pcstac *flags &= ~CPU_DTRACE_FAULT; break; } + + oldfp = fp; } return (ret); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"