Get the previous commit working with gcc
[akaros.git] / kern / arch / i386 / smp_boot.c
index f1ae7f5..184640f 100644 (file)
@@ -56,7 +56,11 @@ static void init_smp_call_function(void)
 
 /******************************************************************************/
 
+#ifdef __IVY__
 static void smp_mtrr_handler(trapframe_t *tf, barrier_t *data)
+#else
+static void smp_mtrr_handler(trapframe_t *tf, void *data)
+#endif
 {
        setup_default_mtrrs(data);
 }