]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/omap/dat.h
kernel: page counts a ulong, not usize
[plan9front.git] / sys / src / 9 / omap / dat.h
index 3c3792524d56aeba80f6435ed2a92a54eae238aa..741712be65d4e000c4a231f8b2ab4ee028e1b317 100644 (file)
@@ -103,7 +103,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr limit;
        uintptr kbase;
        uintptr klimit;
@@ -115,7 +115,7 @@ struct Conf
        ulong   nproc;          /* processes */
        Confmem mem[1];         /* physical memory */
        ulong   npage;          /* total physical pages of memory */
-       usize   upages;         /* user page pool */
+       ulong   upages;         /* user page pool */
        ulong   copymode;       /* 0 is copy on write, 1 is copy on reference */
        ulong   ialloc;         /* max interrupt time allocation in bytes */
        ulong   pipeqsize;      /* size in bytes of pipe queues */