Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Fix build failure.



details:   https://anonhg.NetBSD.org/src/rev/7351050319ea
branches:  trunk
changeset: 967758:7351050319ea
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Dec 21 11:35:25 2019 +0000

description:
Fix build failure.

diffstat:

 sys/kern/kern_cpu.c |  6 ++++--
 sys/kern/subr_cpu.c |  6 ++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r c7b136dd6cd7 -r 7351050319ea sys/kern/kern_cpu.c
--- a/sys/kern/kern_cpu.c       Sat Dec 21 09:11:59 2019 +0000
+++ b/sys/kern/kern_cpu.c       Sat Dec 21 11:35:25 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_cpu.c,v 1.88 2019/12/20 21:20:09 ad Exp $ */
+/*     $NetBSD: kern_cpu.c,v 1.89 2019/12/21 11:35:25 ad Exp $ */
 
 /*-
  * Copyright (c) 2007, 2008, 2009, 2010, 2012, 2019 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_cpu.c,v 1.88 2019/12/20 21:20:09 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_cpu.c,v 1.89 2019/12/21 11:35:25 ad Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_cpu_ucode.h"
@@ -101,6 +101,8 @@
 CTASSERT(offsetof(struct cpu_info, ci_data) != 0);
 #endif
 
+int (*compat_cpuctl_ioctl)(struct lwp *, u_long, void *) = (void *)enosys;
+
 static void    cpu_xc_online(struct cpu_info *, void *);
 static void    cpu_xc_offline(struct cpu_info *, void *);
 
diff -r c7b136dd6cd7 -r 7351050319ea sys/kern/subr_cpu.c
--- a/sys/kern/subr_cpu.c       Sat Dec 21 09:11:59 2019 +0000
+++ b/sys/kern/subr_cpu.c       Sat Dec 21 11:35:25 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_cpu.c,v 1.1 2019/12/20 21:20:09 ad Exp $  */
+/*     $NetBSD: subr_cpu.c,v 1.2 2019/12/21 11:35:25 ad Exp $  */
 
 /*-
  * Copyright (c) 2007, 2008, 2009, 2010, 2012, 2019 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_cpu.c,v 1.1 2019/12/20 21:20:09 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_cpu.c,v 1.2 2019/12/21 11:35:25 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -85,8 +85,6 @@
 kcpuset_t *    kcpuset_attached        __read_mostly   = NULL;
 kcpuset_t *    kcpuset_running         __read_mostly   = NULL;
 
-int (*compat_cpuctl_ioctl)(struct lwp *, u_long, void *) = (void *)enosys;
-
 static char cpu_model[128];
 
 /*



Home | Main Index | Thread Index | Old Index