diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2009-12-08 13:47:26 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2009-12-08 13:47:26 +0000 |
| commit | 7a77e181aa2375ba7d2f2929bc061e9652ea46f0 (patch) | |
| tree | 38d95ae591d7eb4d64b28ddb20dfcea38373dd66 /sys/arch/cesfic/include | |
| parent | 9a261cfdbdd6132dce62d812db49791e7aa91c27 (diff) | |
Use PGSHIFT from <machine/param.h> for PAGE_SHIFT.
We can assume PGSHIFT is always constant on current
m68k pmap_motorola implementation.
Also fix some leftover HP300 comments on some ports.
Diffstat (limited to 'sys/arch/cesfic/include')
| -rw-r--r-- | sys/arch/cesfic/include/vmparam.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/cesfic/include/vmparam.h b/sys/arch/cesfic/include/vmparam.h index c7e378f5a62..355b488e6b4 100644 --- a/sys/arch/cesfic/include/vmparam.h +++ b/sys/arch/cesfic/include/vmparam.h @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.11 2009/08/26 00:30:02 thorpej Exp $ */ +/* $NetBSD: vmparam.h,v 1.12 2009/12/08 13:47:26 tsutsui Exp $ */ /* * Copyright (c) 1982, 1986, 1990, 1993 @@ -87,7 +87,7 @@ * We use 4K pages on the cesfic. Override the PAGE_* definitions * to be compile-time constants. */ -#define PAGE_SHIFT 12 +#define PAGE_SHIFT PGSHIFT #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) |
