svn commit: r333871 - head/sys/amd64/amd64
Matt Macy
mmacy at FreeBSD.org
Sat May 19 05:58:06 UTC 2018
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
More information about the svn-src-all
mailing list