Date: Tue, 31 May 2016 19:17:33 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301072 - head/sys/arm64/arm64 Message-ID: <201605311917.u4VJHXFC057377@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue May 31 19:17:32 2016 New Revision: 301072 URL: https://svnweb.freebsd.org/changeset/base/301072 Log: dpcpu_init should have also passed in the calculated cpuid, not the devicetree ID. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/mp_machdep.c Modified: head/sys/arm64/arm64/mp_machdep.c ============================================================================== --- head/sys/arm64/arm64/mp_machdep.c Tue May 31 19:05:41 2016 (r301071) +++ head/sys/arm64/arm64/mp_machdep.c Tue May 31 19:17:32 2016 (r301072) @@ -522,7 +522,7 @@ cpu_init_fdt(u_int id, phandle_t node, u dpcpu[cpuid - 1] = (void *)kmem_malloc(kernel_arena, DPCPU_SIZE, M_WAITOK | M_ZERO); - dpcpu_init(dpcpu[cpuid - 1], id); + dpcpu_init(dpcpu[cpuid - 1], cpuid); target_cpu = reg[0]; if (addr_size == 2) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605311917.u4VJHXFC057377>