x86: Fixes bug in pml callbacks
[akaros.git] / kern / arch / x86 / ioapic.h
index 39d0226..b3de524 100644 (file)
@@ -45,7 +45,7 @@
  *             Ioapic ADDR (physical Addr)
  */
 typedef struct IOAPICREDIRECT {
-    void*                      ioapic_address; // NULL means invalid
+    uintptr_t          ioapic_address; /* 0 means invalid */
        uint8_t                 ioapic_flags;
        uint8_t                 ioapic_int;
 } ioapic_redirect_t;