]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/bcm/dat.h
kernel: page counts a ulong, not usize
[plan9front.git] / sys / src / 9 / bcm / dat.h
index 75db62a52847d95dba0323197ea3d3355cce8aee..dec4e58609e615b8583b8c317b1e87f1a5dd5361 100644 (file)
@@ -99,7 +99,7 @@ enum
 struct Confmem
 {
        uintptr base;
-       usize   npage;
+       ulong   npage;
        uintptr limit;
        uintptr kbase;
        uintptr klimit;
@@ -111,7 +111,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 */