Index: kernel/arch/mips32/src/mips32.c
===================================================================
--- kernel/arch/mips32/src/mips32.c	(revision c2417bcc6cc9caba6dca867e322c9cc5723b35f4)
+++ kernel/arch/mips32/src/mips32.c	(revision 080ad7fcf59dd514b2dceeb65a63f76c705addac)
@@ -77,5 +77,5 @@
 uintptr_t supervisor_sp __attribute__ ((section (".text")));
 
-count_t cpu_count = 0;
+size_t cpu_count = 0;
 
 /** Performs mips32-specific initialization before main_bsp() is called. */
@@ -85,5 +85,5 @@
 	init.cnt = bootinfo->cnt;
 	
-	count_t i;
+	size_t i;
 	for (i = 0; i < min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); i++) {
 		init.tasks[i].addr = bootinfo->tasks[i].addr;
Index: kernel/arch/mips32/src/mm/frame.c
===================================================================
--- kernel/arch/mips32/src/mm/frame.c	(revision c2417bcc6cc9caba6dca867e322c9cc5723b35f4)
+++ kernel/arch/mips32/src/mm/frame.c	(revision 080ad7fcf59dd514b2dceeb65a63f76c705addac)
@@ -63,5 +63,5 @@
 } phys_region_t;
 
-static count_t phys_regions_count = 0;
+static size_t phys_regions_count = 0;
 static phys_region_t phys_regions[MAX_REGIONS];
 
@@ -120,5 +120,5 @@
 	/* Init tasks */
 	bool safe = true;
-	count_t i;
+	size_t i;
 	for (i = 0; i < init.cnt; i++)
 		if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE,
@@ -175,5 +175,5 @@
 	cp0_entry_hi_write(0);
 
-	count_t i;
+	size_t i;
 	for (i = 0; i < TLB_ENTRY_COUNT; i++) {
 		cp0_index_write(i);
@@ -252,5 +252,5 @@
 	printf("---------- ----------\n");
 	
-	count_t i;
+	size_t i;
 	for (i = 0; i < phys_regions_count; i++) {
 		printf("%#010x %10u\n",
Index: kernel/arch/mips32/src/mm/tlb.c
===================================================================
--- kernel/arch/mips32/src/mm/tlb.c	(revision c2417bcc6cc9caba6dca867e322c9cc5723b35f4)
+++ kernel/arch/mips32/src/mm/tlb.c	(revision 080ad7fcf59dd514b2dceeb65a63f76c705addac)
@@ -561,5 +561,5 @@
  * @param cnt		Number of entries to invalidate.
  */
-void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
+void tlb_invalidate_pages(asid_t asid, uintptr_t page, size_t cnt)
 {
 	unsigned int i;
