diff options
author | alc <alc@FreeBSD.org> | 2003-10-03 19:49:08 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-10-03 19:49:08 +0000 |
commit | 2b6eeeeba10628e94ed4e58fb15e4d460ad8dfa9 (patch) | |
tree | 71055734a550cd510d0ed56e4485bcb164d27fd5 | |
parent | 8204819ae138013ef43a81adcddf441b66f8f3e8 (diff) | |
download | FreeBSD-src-2b6eeeeba10628e94ed4e58fb15e4d460ad8dfa9.zip FreeBSD-src-2b6eeeeba10628e94ed4e58fb15e4d460ad8dfa9.tar.gz |
Make PAGE_SIZE and related quantities signed on sparc64. (They are signed
quantities on every other architecture.) This change is required in order
to move pmap_prefault() out of the pmap and into the machine-independent
layer.
-rw-r--r-- | sys/sparc64/include/param.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h index 8a9726c..7f5ade6 100644 --- a/sys/sparc64/include/param.h +++ b/sys/sparc64/include/param.h @@ -79,19 +79,19 @@ #define ALIGN(p) _ALIGN(p) #define PAGE_SHIFT_8K 13 -#define PAGE_SIZE_8K (1UL<<PAGE_SHIFT_8K) +#define PAGE_SIZE_8K (1L<<PAGE_SHIFT_8K) #define PAGE_MASK_8K (PAGE_SIZE_8K-1) #define PAGE_SHIFT_64K 16 -#define PAGE_SIZE_64K (1UL<<PAGE_SHIFT_64K) +#define PAGE_SIZE_64K (1L<<PAGE_SHIFT_64K) #define PAGE_MASK_64K (PAGE_SIZE_64K-1) #define PAGE_SHIFT_512K 19 -#define PAGE_SIZE_512K (1UL<<PAGE_SHIFT_512K) +#define PAGE_SIZE_512K (1L<<PAGE_SHIFT_512K) #define PAGE_MASK_512K (PAGE_SIZE_512K-1) #define PAGE_SHIFT_4M 22 -#define PAGE_SIZE_4M (1UL<<PAGE_SHIFT_4M) +#define PAGE_SIZE_4M (1L<<PAGE_SHIFT_4M) #define PAGE_MASK_4M (PAGE_SIZE_4M-1) #define PAGE_SHIFT_MIN PAGE_SHIFT_8K |