Module Name:    src
Committed By:   drochner
Date:           Wed Aug  8 16:29:50 UTC 2012

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

Log Message:
build fix for gcc -fno-common, from Radoslaw Kujawa


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/cesfic/cesfic/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/cesfic/cesfic/machdep.c
diff -u src/sys/arch/cesfic/cesfic/machdep.c:1.63 src/sys/arch/cesfic/cesfic/machdep.c:1.64
--- src/sys/arch/cesfic/cesfic/machdep.c:1.63	Fri Jul 27 05:36:10 2012
+++ src/sys/arch/cesfic/cesfic/machdep.c	Wed Aug  8 16:29:50 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.63 2012/07/27 05:36:10 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.64 2012/08/08 16:29:50 drochner Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.63 2012/07/27 05:36:10 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.64 2012/08/08 16:29:50 drochner Exp $");
 
 #include "opt_bufcache.h"
 #include "opt_ddb.h"
@@ -119,7 +119,7 @@ struct vm_map *phys_map = NULL;
  * Declare these as initialized data so we can patch them.
  */
 /*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	u_int lowram;
 

Reply via email to