From eb8c15953a316a780f2ea6c8d1eb47c878909d94 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Thu, 31 Dec 2015 19:08:19 +0100 Subject: fix some compiler warnings in gnumach * linux/dev/glue/block.c (out): Cast to device_t. * linux/dev/init/main.c (alloc_contig_mem): Initialize addr and cast return value to void *. * i386/i386/phys.c (pmap_copy_page): Initialize src_map. * i386/intel/pmap.c: Include i386at/model_dep.h. * kern/mach_clock.c (mapable_time_init): Cast to void *. --- i386/intel/pmap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'i386/intel') diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index cf7a736..22e20c9 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -83,6 +83,7 @@ #include #include #include +#include #ifdef MACH_PSEUDO_PHYS #define WRITE_PTE(pte_p, pte_entry) *(pte_p) = pte_entry?pa_to_ma(pte_entry):0; -- cgit v1.2.3