Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2011 10:02:15 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r221058 - stable/8/sys/arm/xscale/i8134x
Message-ID:  <201104261002.p3QA2F8d016870@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Tue Apr 26 10:02:15 2011
New Revision: 221058
URL: http://svn.freebsd.org/changeset/base/221058

Log:
  MFC r220836:
  
   Call init_param1() much earlier, so that msgbufsize is non-zero when we
   want to map and use the msgbuf.

Modified:
  stable/8/sys/arm/xscale/i8134x/crb_machdep.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/arm/xscale/i8134x/crb_machdep.c
==============================================================================
--- stable/8/sys/arm/xscale/i8134x/crb_machdep.c	Tue Apr 26 08:18:01 2011	(r221057)
+++ stable/8/sys/arm/xscale/i8134x/crb_machdep.c	Tue Apr 26 10:02:15 2011	(r221058)
@@ -196,6 +196,9 @@ initarm(void *arg, void *arg2)
 	pcpu_init(pcpup, 0, sizeof(struct pcpu));
 	PCPU_SET(curthread, &thread0);
 
+	/* Do basic tuning, hz etc */
+	init_param1();
+
 	freemempos = 0x00200000;
 	/* Define a macro to simplify memory allocation */
 #define	valloc_pages(var, np)			\
@@ -389,8 +392,6 @@ initarm(void *arg, void *arg2)
 	phys_avail[i++] = 0;
 	phys_avail[i] = 0;
 	
-	/* Do basic tuning, hz etc */
-	init_param1();
 	init_param2(physmem);
 	kdb_init();
 	return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104261002.p3QA2F8d016870>