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/atari | |
| 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/atari')
| -rw-r--r-- | sys/arch/atari/include/vmparam.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/atari/include/vmparam.h b/sys/arch/atari/include/vmparam.h index 78764c7637f..54de2b6f508 100644 --- a/sys/arch/atari/include/vmparam.h +++ b/sys/arch/atari/include/vmparam.h @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.25 2009/08/26 00:30:02 thorpej Exp $ */ +/* $NetBSD: vmparam.h,v 1.26 2009/12/08 13:47:26 tsutsui Exp $ */ /* * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. @@ -82,14 +82,14 @@ #include <machine/pte.h> /* - * Machine dependent constants for HP300 + * Machine dependent constants for atari */ /* * We use 8K pages on the Atari. Override the PAGE_* definitions * to be compile-time constants. */ -#define PAGE_SHIFT 13 +#define PAGE_SHIFT PGSHIFT #define PAGE_SIZE (1 << PAGE_SHIFT) #define PAGE_MASK (PAGE_SIZE - 1) |
