Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/include Remove "#if defined(amiga) || defined(...



details:   https://anonhg.NetBSD.org/src/rev/a3c313e2e6bb
branches:  trunk
changeset: 749760:a3c313e2e6bb
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Dec 07 14:23:45 2009 +0000

description:
Remove "#if defined(amiga) || defined(atari)" for PG_SHIFT.
Use PGSHIFT from <machine/param.h> instead.

diffstat:

 sys/arch/m68k/include/pte_motorola.h |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r e285c45e2d63 -r a3c313e2e6bb sys/arch/m68k/include/pte_motorola.h
--- a/sys/arch/m68k/include/pte_motorola.h      Mon Dec 07 13:41:44 2009 +0000
+++ b/sys/arch/m68k/include/pte_motorola.h      Mon Dec 07 14:23:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pte_motorola.h,v 1.6 2009/01/17 01:38:10 tsutsui Exp $ */
+/*     $NetBSD: pte_motorola.h,v 1.7 2009/12/07 14:23:45 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -89,11 +89,7 @@
 #define        PT_ENTRY_NULL   NULL
 #define        ST_ENTRY_NULL   NULL
 
-#if defined(amiga) || defined(atari)
-#define PG_SHIFT       13
-#else
-#define PG_SHIFT       12
-#endif
+#define PG_SHIFT       PGSHIFT
 
 #define        SG_V            0x00000002      /* segment is valid */
 #define        SG_NV           0x00000000



Home | Main Index | Thread Index | Old Index