Make r242655 build on sparc64. While at it, make vm_{max,min}_kernel_address

vm_offset_t as they should be.
This commit is contained in:
Marius Strobl 2012-11-08 08:10:32 +00:00
parent 86c3bcbb97
commit c882264c95

View File

@ -186,11 +186,13 @@ struct {
*/
static uma_zone_t mt_zone;
static u_long vm_min_kernel_address = VM_MIN_KERNEL_ADDRESS;
static vm_offset_t vm_min_kernel_address = VM_MIN_KERNEL_ADDRESS;
SYSCTL_ULONG(_vm, OID_AUTO, min_kernel_address, CTLFLAG_RD,
&vm_min_kernel_address, 0, "Min kernel address");
static u_long vm_max_kernel_address = VM_MAX_KERNEL_ADDRESS;
#ifndef __sparc64__
static vm_offset_t vm_max_kernel_address = VM_MAX_KERNEL_ADDRESS;
#endif
SYSCTL_ULONG(_vm, OID_AUTO, max_kernel_address, CTLFLAG_RD,
&vm_max_kernel_address, 0, "Max kernel address");