svn commit: r303309 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Mon Jul 25 16:18:22 UTC 2016
Author: andrew
Date: Mon Jul 25 16:18:20 2016
New Revision: 303309
URL: https://svnweb.freebsd.org/changeset/base/303309
Log:
Remove an unused variable.
Obtained from: ABT Systems Ltd
MFC after: 1 month
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 Mon Jul 25 15:59:31 2016 (r303308)
+++ head/sys/arm64/arm64/mp_machdep.c Mon Jul 25 16:18:20 2016 (r303309)
@@ -112,9 +112,6 @@ static int ipi_handler(void *arg);
struct mtx ap_boot_mtx;
struct pcb stoppcbs[MAXCPU];
-#ifdef INVARIANTS
-static uint32_t cpu_reg[MAXCPU][2];
-#endif
static device_t cpu_list[MAXCPU];
/*
@@ -443,13 +440,6 @@ cpu_init_fdt(u_int id, phandle_t node, u
KASSERT(id < MAXCPU, ("Too many CPUs"));
- KASSERT(addr_size == 1 || addr_size == 2, ("Invalid register size"));
-#ifdef INVARIANTS
- cpu_reg[id][0] = reg[0];
- if (addr_size == 2)
- cpu_reg[id][1] = reg[1];
-#endif
-
/* We are already running on cpu 0 */
if (id == cpu0)
return (1);
More information about the svn-src-all
mailing list