From 70f46c304582d9671ca3e5f6843e8edbd662fee8 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 24 Mar 2006 10:52:10 +0100 Subject: The patch removes old Xenbus files, fixes 0 length mmu_updates table bug (bugfix by Melvin Anderson) and adds missing console.h header file (again spotted by Melvin). Signed-off-by: Grzegorz Milos --- extras/mini-os/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/mini-os/mm.c') diff --git a/extras/mini-os/mm.c b/extras/mini-os/mm.c index b2a1734b91..a008e65a0a 100644 --- a/extras/mini-os/mm.c +++ b/extras/mini-os/mm.c @@ -372,7 +372,7 @@ void new_pt_frame(unsigned long *pt_pfn, unsigned long prev_l_mfn, unsigned long *tab = (unsigned long *)start_info.pt_base; unsigned long pt_page = (unsigned long)pfn_to_virt(*pt_pfn); unsigned long prot_e, prot_t, pincmd; - mmu_update_t mmu_updates[0]; + mmu_update_t mmu_updates[1]; struct mmuext_op pin_request; DEBUG("Allocating new L%d pt frame for pt_pfn=%lx, " -- cgit v1.2.3