From abce9b81408e0cca00d6ca0586cb3d695427a716 Mon Sep 17 00:00:00 2001 From: Jindong Zhang Date: Fri, 18 Sep 2015 23:36:45 +0800 Subject: [PATCH] Fix comments --- memlayout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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