svn commit: r230860 - projects/armv6/sys/arm/ti
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Wed Feb 1 03:49:56 UTC 2012
Author: gonzo
Date: Wed Feb 1 03:49:56 2012
New Revision: 230860
URL: http://svn.freebsd.org/changeset/base/230860
Log:
Use pcpu0_init in order to initialize pcpu properly
Modified:
projects/armv6/sys/arm/ti/omap_machdep.c
Modified: projects/armv6/sys/arm/ti/omap_machdep.c
==============================================================================
--- projects/armv6/sys/arm/ti/omap_machdep.c Wed Feb 1 03:42:14 2012 (r230859)
+++ projects/armv6/sys/arm/ti/omap_machdep.c Wed Feb 1 03:49:56 2012 (r230860)
@@ -264,8 +264,7 @@ initarm_boilerplate(void *arg1, void *ar
/*
* Initialize the MI portions of a struct per cpu structure.
*/
- pcpu_init(pcpup, 0, sizeof(struct pcpu));
- PCPU_SET(curthread, &thread0);
+ pcpu0_init();
init_param1();
/*
More information about the svn-src-projects
mailing list