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 No externs in .c files!



details:   https://anonhg.NetBSD.org/src/rev/8f086bd9b2cb
branches:  trunk
changeset: 827741:8f086bd9b2cb
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Nov 11 06:16:52 2017 +0000

description:
No externs in .c files!

diffstat:

 sys/arch/xen/x86/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 2fe6345f9f61 -r 8f086bd9b2cb sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c    Sat Nov 11 03:58:01 2017 +0000
+++ b/sys/arch/xen/x86/cpu.c    Sat Nov 11 06:16:52 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.113 2017/11/08 17:52:22 maxv Exp $   */
+/*     $NetBSD: cpu.c,v 1.114 2017/11/11 06:16:52 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.113 2017/11/08 17:52:22 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.114 2017/11/11 06:16:52 riastradh Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -89,6 +89,7 @@
 
 #include <uvm/uvm.h>
 
+#include <machine/cpu.h>
 #include <machine/cpufunc.h>
 #include <machine/cpuvar.h>
 #include <machine/pmap.h>
@@ -525,7 +526,6 @@
 void
 cpu_init(struct cpu_info *ci)
 {
-       extern int x86_fpu_save;
 
        /*
         * If we have FXSAVE/FXRESTOR, use them.



Home | Main Index | Thread Index | Old Index