Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Expose CPUSET_ALL to non-MULTIPROCESSOR...



details:   https://anonhg.NetBSD.org/src/rev/5bb3a6f4bddd
branches:  trunk
changeset: 565501:5bb3a6f4bddd
user:      pk <pk%NetBSD.org@localhost>
date:      Sat Apr 10 19:55:57 2004 +0000

description:
Expose CPUSET_ALL to non-MULTIPROCESSOR source.

diffstat:

 sys/arch/sparc/sparc/cpuvar.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 2f9c0401bff3 -r 5bb3a6f4bddd sys/arch/sparc/sparc/cpuvar.h
--- a/sys/arch/sparc/sparc/cpuvar.h     Sat Apr 10 19:53:48 2004 +0000
+++ b/sys/arch/sparc/sparc/cpuvar.h     Sat Apr 10 19:55:57 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuvar.h,v 1.58 2003/01/23 22:33:41 pk Exp $ */
+/*     $NetBSD: cpuvar.h,v 1.59 2004/04/10 19:55:57 pk Exp $ */
 
 /*
  *  Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -417,10 +417,11 @@
 void pmap_alloc_cpu (struct cpu_info *);
 void pmap_globalize_boot_cpu (struct cpu_info *);
 
+#define        CPUSET_ALL      0xffffffffU     /* xcall to all configured CPUs */
+
 #if defined(MULTIPROCESSOR)
 typedef int (*xcall_func_t)(int, int, int, int);
 void xcall(xcall_func_t, int, int, int, int, u_int);
-#define        CPUSET_ALL      0xffffffffU     /* xcall to all configured CPUs */
 /* Shorthand */
 #define XCALL0(f,cpuset)               \
        xcall((xcall_func_t)f, 0, 0, 0, 0, cpuset)



Home | Main Index | Thread Index | Old Index