Index: kernel/arch/ia32/src/smp/mps.c
===================================================================
--- kernel/arch/ia32/src/smp/mps.c	(revision dad59517515e53c29f935bc4cbe535d802b998c0)
+++ kernel/arch/ia32/src/smp/mps.c	(revision 3802fcddbc0b5f3740b4c514f4e79bfe4d256c27)
@@ -78,9 +78,9 @@
 struct __l_intr_entry *l_intr_entries = NULL;
 
-int processor_entry_cnt = 0;
-int bus_entry_cnt = 0;
-int io_apic_entry_cnt = 0;
-int io_intr_entry_cnt = 0;
-int l_intr_entry_cnt = 0;
+unsigned int processor_entry_cnt = 0;
+unsigned int bus_entry_cnt = 0;
+unsigned int io_apic_entry_cnt = 0;
+unsigned int io_intr_entry_cnt = 0;
+unsigned int l_intr_entry_cnt = 0;
 
 /*
@@ -130,5 +130,5 @@
 int mps_fs_check(uint8_t *base)
 {
-	int i;
+	unsigned int i;
 	uint8_t sum;
 	
@@ -166,5 +166,5 @@
 {
 	uint8_t *addr[2] = { NULL, (uint8_t *) PA2KA(0xf0000) };
-	int i, j, length[2] = { 1024, 64*1024 };
+	unsigned int i, j, length[2] = { 1024, 64 * 1024 };
 	
 
@@ -209,5 +209,5 @@
 {
 	uint8_t *cur;
-	int i, cnt;
+	unsigned int i, cnt;
 		
 	if (ct->signature != CT_SIGNATURE) {
@@ -321,5 +321,5 @@
 void ct_io_apic_entry(struct __io_apic_entry *ioa)
 {
-	static int io_apic_count = 0;
+	static unsigned int io_apic_count = 0;
 
 	/* this ioapic is marked unusable */
@@ -416,7 +416,7 @@
 int mps_irq_to_pin(int irq)
 {
-	int i;
-	
-	for(i=0;i<io_intr_entry_cnt;i++) {
+	unsigned int i;
+	
+	for(i = 0; i < io_intr_entry_cnt; i++) {
 		if (io_intr_entries[i].src_bus_irq == irq && io_intr_entries[i].intr_type == 0)
 			return io_intr_entries[i].dst_io_apic_pin;
