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.
This commit is contained in:
parent
8204819ae1
commit
2b6eeeeba1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user