Date: Sat, 20 Jan 2018 18:05:14 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328205 - head/sys/amd64/amd64 Message-ID: <201801201805.w0KI5EL2041305@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat Jan 20 18:05:14 2018 New Revision: 328205 URL: https://svnweb.freebsd.org/changeset/base/328205 Log: Use correct symbol name in r328202. Sponsored by: The FreeBSD Foundation MFC after: 11 days Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c ============================================================================== --- head/sys/amd64/amd64/trap.c Sat Jan 20 18:04:08 2018 (r328204) +++ head/sys/amd64/amd64/trap.c Sat Jan 20 18:05:14 2018 (r328205) @@ -707,8 +707,8 @@ trap_pfault(struct trapframe *frame, int usermode) */ if (pti && usermode && pg_nx != 0 && (frame->tf_err & (PGEX_P | PGEX_W | PGEX_U | PGEX_I)) == (PGEX_P | PGEX_U | PGEX_I) && - (curpcb->pcb_saved_ucr3 & ~PMAP_PCID_MASK)== - (PCPU_GET(curpmap)->pm_cr3 & ~PMAP_PCID_MASK)) + (curpcb->pcb_saved_ucr3 & ~CR3_PCID_MASK)== + (PCPU_GET(curpmap)->pm_cr3 & ~CR3_PCID_MASK)) panic("PTI: pid %d comm %s tf_err %#lx\n", p->p_pid, p->p_comm, frame->tf_err);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801201805.w0KI5EL2041305>