Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/x86 GC max_cpus.



details:   https://anonhg.NetBSD.org/src/rev/653beee7f1d2
branches:  trunk
changeset: 789967:653beee7f1d2
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Sep 14 13:07:55 2013 +0000

description:
GC max_cpus.

diffstat:

 sys/arch/xen/x86/xen_ipi.c |  12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diffs (35 lines):

diff -r 1784d28b1b6c -r 653beee7f1d2 sys/arch/xen/x86/xen_ipi.c
--- a/sys/arch/xen/x86/xen_ipi.c        Sat Sep 14 13:05:51 2013 +0000
+++ b/sys/arch/xen/x86/xen_ipi.c        Sat Sep 14 13:07:55 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xen_ipi.c,v 1.11 2012/12/27 06:42:14 cherry Exp $ */
+/* $NetBSD: xen_ipi.c,v 1.12 2013/09/14 13:07:55 joerg Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -33,10 +33,10 @@
 
 /* 
  * Based on: x86/ipi.c
- * __KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.11 2012/12/27 06:42:14 cherry Exp $"); 
+ * __KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.12 2013/09/14 13:07:55 joerg Exp $"); 
  */
 
-__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.11 2012/12/27 06:42:14 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.12 2013/09/14 13:07:55 joerg Exp $");
 
 #include <sys/types.h>
 
@@ -132,12 +132,6 @@
        hypervisor_enable_event(evtchn);
 }
 
-/* prefer this to global variable */
-static inline u_int max_cpus(void)
-{
-       return maxcpus;
-}
-
 static inline bool /* helper */
 valid_ipimask(uint32_t ipimask)
 {



Home | Main Index | Thread Index | Old Index