summaryrefslogtreecommitdiff
path: root/kern/mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mm.c')
-rw-r--r--kern/mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/mm.c b/kern/mm.c
index b553018..a1dfea6 100644
--- a/kern/mm.c
+++ b/kern/mm.c
@@ -45,7 +45,7 @@ static unsigned char* user_page_bitmap;
/** minimum size of last bin */
#define LAST_BIN_SIZE (1 << (NUM_BINS - 1))
/** bins for free chunks */
-static pa_t bins[9];
+static pa_t bins[NUM_BINS];
mutex_t mm_lock = MUTEX_INIT;