Date: Sat, 19 May 2018 05:58:05 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333871 - head/sys/amd64/amd64 Message-ID: <201805190558.w4J5w5Au078823@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmacy Date: Sat May 19 05:58:05 2018 New Revision: 333871 URL: https://svnweb.freebsd.org/changeset/base/333871 Log: pmap: silence warnings Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c ============================================================================== --- head/sys/amd64/amd64/pmap.c Sat May 19 05:57:26 2018 (r333870) +++ head/sys/amd64/amd64/pmap.c Sat May 19 05:58:05 2018 (r333871) @@ -7366,6 +7366,7 @@ pmap_activate_sw(struct thread *td) u_int cpuid; struct amd64tss *tssp; + rflags = 0; oldpmap = PCPU_GET(curpmap); pmap = vmspace_pmap(td->td_proc->p_vmspace); if (oldpmap == pmap) @@ -7680,7 +7681,7 @@ pmap_map_io_transient(vm_page_t page[], vm_offset_t va vm_paddr_t paddr; boolean_t needs_mapping; pt_entry_t *pte; - int cache_bits, error, i; + int cache_bits, error __unused, i; /* * Allocate any KVA space that we need, this is done in a separate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805190558.w4J5w5Au078823>