summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--memlayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/memlayout.h b/memlayout.h
index 6a62cd7..ce9cdeb 100644
--- a/memlayout.h
+++ b/memlayout.h
@@ -19,4 +19,4 @@ static inline void *p2v(uint a) { return (void *) ((a) + KERNBASE); }
#define P2V(a) (((void *) (a)) + KERNBASE)
#define V2P_WO(x) ((x) - KERNBASE) // same as V2P, but without casts
-#define P2V_WO(x) ((x) + KERNBASE) // same as V2P, but without casts
+#define P2V_WO(x) ((x) + KERNBASE) // same as P2V, but without casts