Module Name: src Committed By: riastradh Date: Sat Nov 11 06:16:52 UTC 2017
Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: No externs in .c files! To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/arch/xen/x86/cpu.c 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/xen/x86/cpu.c diff -u src/sys/arch/xen/x86/cpu.c:1.113 src/sys/arch/xen/x86/cpu.c:1.114 --- src/sys/arch/xen/x86/cpu.c:1.113 Wed Nov 8 17:52:22 2017 +++ src/sys/arch/xen/x86/cpu.c Sat Nov 11 06:16:52 2017 @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.11 #include <uvm/uvm.h> +#include <machine/cpu.h> #include <machine/cpufunc.h> #include <machine/cpuvar.h> #include <machine/pmap.h> @@ -525,7 +526,6 @@ cpu_attach_common(device_t parent, devic void cpu_init(struct cpu_info *ci) { - extern int x86_fpu_save; /* * If we have FXSAVE/FXRESTOR, use them.