]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/cycv/dat.h
kernel: page counts a ulong, not usize
[plan9front.git] / sys / src / 9 / cycv / dat.h
index 1e08c3dab89b5363949348a022b368d0dccba3f0..a685eca586e74b4d9cc127978e18c165e1d80802 100644 (file)
@@ -61,7 +61,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr kbase;
        uintptr klimit;
 };
@@ -72,7 +72,7 @@ struct Conf
        ulong   nproc;          /* processes */
        Confmem mem[2];         /* 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 */