Skip to content

Commit 5a15100

Browse files
committed
amd64/pmap.h: use PAGE_SIZE_4K macro instead of literal
1 parent 0687f8a commit 5a15100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sys/amd64/include/pmap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ struct ptpage;
320320
typedef struct ptpage *ptpage_t;
321321
SLIST_HEAD(ptpglist, ptpage);
322322
struct ptpage_radix {
323-
#if PAGE_SIZE == 4096
323+
#if PAGE_SIZE == PAGE_SIZE_4K
324324
struct vm_radix vmr;
325325
#else
326326
struct pctrie rt_trie;

0 commit comments

Comments
 (0)