summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-08-05 13:53:51 +0200
committerJustus Winter <justus@gnupg.org>2017-08-05 13:53:51 +0200
commit5c42c6983095b45e630e5bf2ebbf6b270010bc65 (patch)
tree846bb123ef88c0a087338f00610ebb467c3b3219
parentfac0a603f8c3280720dc7e6adc16a8b34026508a (diff)
i386: Make function static.
* i386/intel/pmap.c (pmap_remove_range): Make function static. * i386/intel/pmap.h (pmap_remove_range): Remove declaration.
-rw-r--r--i386/intel/pmap.c2
-rw-r--r--i386/intel/pmap.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 505b2063..5af376d7 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -1370,7 +1370,7 @@ void pmap_reference(pmap_t p)
* Assumes that the pte-page exists.
*/
-/* static */
+static
void pmap_remove_range(
pmap_t pmap,
vm_offset_t va,
diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h
index ee600cd5..5fa2a0c4 100644
--- a/i386/intel/pmap.h
+++ b/i386/intel/pmap.h
@@ -461,12 +461,6 @@ extern void pmap_copy_page (phys_addr_t, phys_addr_t);
*/
extern phys_addr_t kvtophys (vm_offset_t);
-void pmap_remove_range(
- pmap_t pmap,
- vm_offset_t va,
- pt_entry_t *spte,
- pt_entry_t *epte);
-
#if NCPUS > 1
void signal_cpus(
cpu_set use_list,