Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/include Move function prototypes for cpu_ec...



details:   https://anonhg.NetBSD.org/src/rev/5cc142d3dc5f
branches:  trunk
changeset: 810621:5cc142d3dc5f
user:      palle <palle%NetBSD.org@localhost>
date:      Mon Sep 07 20:00:49 2015 +0000

description:
Move function prototypes for cpu_ecache_associativity() and cpu_ecache_size() outside the MULTIPROCESSOR block so a GENERIC.UP kernel will build again

diffstat:

 sys/arch/sparc64/include/cpu.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 790ed177cf38 -r 5cc142d3dc5f sys/arch/sparc64/include/cpu.h
--- a/sys/arch/sparc64/include/cpu.h    Mon Sep 07 17:14:54 2015 +0000
+++ b/sys/arch/sparc64/include/cpu.h    Mon Sep 07 20:00:49 2015 +0000
@@ -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 @@
 /* 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 @@
 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



Home | Main Index | Thread Index | Old Index