summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2012-08-26 00:53:00 +0000
committergonzo <gonzo@FreeBSD.org>2012-08-26 00:53:00 +0000
commitde9cc7d120b20d695643858cbaab2cfa4ce4e01b (patch)
treee260353493c9eb537a2f3e2631b210a0b609351c
parent92d201045992c67d8e1aec764151dd8da6d7de33 (diff)
downloadFreeBSD-src-de9cc7d120b20d695643858cbaab2cfa4ce4e01b.zip
FreeBSD-src-de9cc7d120b20d695643858cbaab2cfa4ce4e01b.tar.gz
Call set_pcpu for ARMv6 architecture too
-rw-r--r--sys/arm/arm/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c
index 95b0275..861e747 100644
--- a/sys/arm/arm/machdep.c
+++ b/sys/arm/arm/machdep.c
@@ -791,7 +791,7 @@ fake_preload_metadata(struct arm_boot_params *abp __unused)
void
pcpu0_init(void)
{
-#if ARM_ARCH_7A || defined(CPU_MV_PJ4B)
+#if ARM_ARCH_6 || ARM_ARCH_7A || defined(CPU_MV_PJ4B)
set_pcpu(pcpup);
#endif
pcpu_init(pcpup, 0, sizeof(struct pcpu));
OpenPOWER on IntegriCloud