Module Name: src
Committed By: tsutsui
Date: Mon Jul 6 12:55:24 UTC 2009
Modified Files:
src/sys/arch/atari/atari: atari_init.c
Log Message:
Fix a botch in RELOC_PA() macro introduced in rev 1.80
inside #if defind(M68040) || defined(68060)/#endif block.
Noticed by h...@.
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/atari/atari/atari_init.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/atari/atari/atari_init.c
diff -u src/sys/arch/atari/atari/atari_init.c:1.80 src/sys/arch/atari/atari/atari_init.c:1.81
--- src/sys/arch/atari/atari/atari_init.c:1.80 Wed Jul 1 13:44:32 2009
+++ src/sys/arch/atari/atari/atari_init.c Mon Jul 6 12:55:24 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: atari_init.c,v 1.80 2009/07/01 13:44:32 tsutsui Exp $ */
+/* $NetBSD: atari_init.c,v 1.81 2009/07/06 12:55:24 tsutsui Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.80 2009/07/01 13:44:32 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.81 2009/07/06 12:55:24 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_mbtype.h"
@@ -1050,7 +1050,7 @@
*/
pg = (pt_entry_t *)sysptmap_pa;
epg = &pg[ptsize >> PGSHIFT];
- pg_proto = RELOC_PA(kbase + ptpa) | PG_RW | PG_CI | PG_V;
+ pg_proto = RELOC_PA(kbase, ptpa) | PG_RW | PG_CI | PG_V;
while (pg < epg) {
*pg++ = pg_proto;
pg_proto += PAGE_SIZE;