Module Name:    src
Committed By:   rkujawa
Date:           Fri Aug  3 13:14:20 UTC 2012

Modified Files:
        src/sys/arch/amiga/amiga: machdep.c

Log Message:
Declare physmem extern. It is actually initialized in amiga_init.c
(using RELOC). Discussed with martin@ and is@. Probably similar fix should
be applied to other m68k ports, but amiga is the only m68k machine I have.


To generate a diff of this commit:
cvs rdiff -u -r1.238 -r1.239 src/sys/arch/amiga/amiga/machdep.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/amiga/amiga/machdep.c
diff -u src/sys/arch/amiga/amiga/machdep.c:1.238 src/sys/arch/amiga/amiga/machdep.c:1.239
--- src/sys/arch/amiga/amiga/machdep.c:1.238	Fri Jul 27 05:36:09 2012
+++ src/sys/arch/amiga/amiga/machdep.c	Fri Aug  3 13:14:20 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.238 2012/07/27 05:36:09 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.239 2012/08/03 13:14:20 rkujawa Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -48,7 +48,7 @@
 #include "opt_m68k_arch.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.238 2012/07/27 05:36:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.239 2012/08/03 13:14:20 rkujawa Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -136,7 +136,7 @@ paddr_t msgbufpa;
 
 int	machineid;
 int	maxmem;			/* max memory per process */
-int	physmem = MAXMEM;	/* max supported memory, changes to actual */
+extern int	physmem;	/* max supported memory, changes to actual */
 
 extern  int   freebufspace;
 extern	u_int lowram;

Reply via email to