Module Name: src
Committed By: palle
Date: Mon Sep 7 20:00:49 UTC 2015
Modified Files:
src/sys/arch/sparc64/include: cpu.h
Log Message:
Move function prototypes for cpu_ecache_associativity() and cpu_ecache_size()
outside the MULTIPROCESSOR block so a GENERIC.UP kernel will build again
To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/arch/sparc64/include/cpu.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sparc64/include/cpu.h
diff -u src/sys/arch/sparc64/include/cpu.h:1.117 src/sys/arch/sparc64/include/cpu.h:1.118
--- src/sys/arch/sparc64/include/cpu.h:1.117 Sun Sep 6 23:48:39 2015
+++ src/sys/arch/sparc64/include/cpu.h Mon Sep 7 20:00:49 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.117 2015/09/06 23:48:39 nakayama Exp $ */
+/* $NetBSD: cpu.h,v 1.118 2015/09/07 20:00:49 palle Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -263,6 +263,10 @@ void cpu_pmap_init(struct cpu_info *);
/* run upfront to prepare the cpu_info */
void cpu_pmap_prepare(struct cpu_info *, bool);
+/* Helper functions to retrieve cache info */
+int cpu_ecache_associativity(int node);
+int cpu_ecache_size(int node);
+
#if defined(MULTIPROCESSOR)
extern vaddr_t cpu_spinup_trampoline;
@@ -275,10 +279,6 @@ extern u_long mp_tramp_ci;
void cpu_hatch(void);
void cpu_boot_secondary_processors(void);
-/* Helper functions to retrieve cache info */
-int cpu_ecache_associativity(int node);
-int cpu_ecache_size(int node);
-
/*
* Call a function on other cpus:
* multicast - send to everyone in the sparc64_cpuset_t