Oops. Fix thinko.
This commit is contained in:
parent
c9ff0b160b
commit
1674b65491
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_init.c,v 1.37 2010/11/14 04:25:16 uebayasi Exp $ */
|
||||
/* $NetBSD: uvm_init.c,v 1.38 2010/11/14 04:31:02 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.37 2010/11/14 04:25:16 uebayasi Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.38 2010/11/14 04:31:02 uebayasi Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -66,7 +66,7 @@ struct uvm uvm; /* decl */
|
||||
struct uvmexp uvmexp; /* decl */
|
||||
struct uvm_object *uvm_kernel_object;
|
||||
|
||||
#if !defined(PAGE_SIZE)
|
||||
#if defined(__uvmexp_pagesize)
|
||||
int *uvmexp_pagesize = &uvmexp.pagesize;
|
||||
int *uvmexp_pagemask = &uvmexp.pagemask;
|
||||
int *uvmexp_pageshift = &uvmexp.pageshift;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_param.h,v 1.24 2010/11/14 04:25:16 uebayasi Exp $ */
|
||||
/* $NetBSD: uvm_param.h,v 1.25 2010/11/14 04:31:02 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
@ -151,6 +151,7 @@ extern int *uvmexp_pageshift;
|
||||
#define PAGE_SIZE (*uvmexp_pagesize) /* size of page */
|
||||
#define PAGE_MASK (*uvmexp_pagemask) /* size of page - 1 */
|
||||
#define PAGE_SHIFT (*uvmexp_pageshift) /* bits to shift for pages */
|
||||
#define __uvmexp_pagesize
|
||||
#endif /* PAGE_SIZE */
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
Loading…
Reference in New Issue
Block a user