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/mac68k/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/mac68k/include')
| -rw-r--r-- | sys/arch/mac68k/include/vmparam.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/include/vmparam.h b/sys/arch/mac68k/include/vmparam.h index 3588a976333..48af1ed60c9 100644 --- a/sys/arch/mac68k/include/vmparam.h +++ b/sys/arch/mac68k/include/vmparam.h @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.39 2009/08/26 00:30:02 thorpej Exp $ */ +/* $NetBSD: vmparam.h,v 1.40 2009/12/08 13:47:27 tsutsui Exp $ */ /* * Copyright (c) 1982, 1990 The Regents of the University of California. @@ -117,7 +117,7 @@ * We use 4K pages on the mac68k. 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) |
