pmap: silence warnings

This commit is contained in:
Matt Macy 2018-05-19 05:58:05 +00:00
parent 24a7d6d3a6
commit f5ad6b4b00
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333871

View File

@ -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 vaddr[], int count,
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