aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/mm.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-24 10:52:10 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-24 10:52:10 +0100
commit70f46c304582d9671ca3e5f6843e8edbd662fee8 (patch)
tree55acc8264e265f4d374078254cf257e9ee8370fa /extras/mini-os/mm.c
parentc7b965a01c79f34586562d1e2b8eda2c00449bb2 (diff)
downloadxen-70f46c304582d9671ca3e5f6843e8edbd662fee8.tar.gz
xen-70f46c304582d9671ca3e5f6843e8edbd662fee8.tar.bz2
xen-70f46c304582d9671ca3e5f6843e8edbd662fee8.zip
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 <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/mm.c')
-rw-r--r--extras/mini-os/mm.c2
1 files changed, 1 insertions, 1 deletions
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, "