summaryrefslogtreecommitdiffstats
path: root/sys/arm/s3c2xx0/s3c24x0_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/s3c2xx0/s3c24x0_machdep.c')
-rw-r--r--sys/arm/s3c2xx0/s3c24x0_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/s3c2xx0/s3c24x0_machdep.c b/sys/arm/s3c2xx0/s3c24x0_machdep.c
index 008d9399..31ae74c 100644
--- a/sys/arm/s3c2xx0/s3c24x0_machdep.c
+++ b/sys/arm/s3c2xx0/s3c24x0_machdep.c
@@ -257,6 +257,9 @@ initarm(void *arg, void *arg2)
pcpu_init(pcpup, 0, sizeof(struct pcpu));
PCPU_SET(curthread, &thread0);
+ /* Do basic tuning, hz etc */
+ init_param1();
+
#define KERNEL_TEXT_BASE (KERNBASE)
freemempos = (lastaddr + PAGE_MASK) & ~PAGE_MASK;
/* Define a macro to simplify memory allocation */
@@ -438,8 +441,6 @@ initarm(void *arg, void *arg2)
phys_avail[2] = 0;
phys_avail[3] = 0;
- /* Do basic tuning, hz etc */
- init_param1();
init_param2(physmem);
kdb_init();
OpenPOWER on IntegriCloud