aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/arch/x86/mm.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 15:08:15 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 15:08:15 +0000
commit2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61 (patch)
treec74c8ce96351990bd6e54b6d2f898bae24821aa7 /extras/mini-os/arch/x86/mm.c
parent9e20e8426ff5e81d0d1e3b5aaddf2e906eaf82ce (diff)
downloadxen-2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61.tar.gz
xen-2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61.tar.bz2
xen-2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61.zip
[MINIOS] Fix compile warnings with -O.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Diffstat (limited to 'extras/mini-os/arch/x86/mm.c')
-rw-r--r--extras/mini-os/arch/x86/mm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/arch/x86/mm.c b/extras/mini-os/arch/x86/mm.c
index 20031a002e..d0fe762792 100644
--- a/extras/mini-os/arch/x86/mm.c
+++ b/extras/mini-os/arch/x86/mm.c
@@ -61,6 +61,7 @@ void new_pt_frame(unsigned long *pt_pfn, unsigned long prev_l_mfn,
mmu_update_t mmu_updates[1];
struct mmuext_op pin_request;
+ prot_e = prot_t = pincmd = 0;
DEBUG("Allocating new L%d pt frame for pt_pfn=%lx, "
"prev_l_mfn=%lx, offset=%lx",
level, *pt_pfn, prev_l_mfn, offset);