Module Name: src Committed By: christos Date: Tue Mar 10 03:48:05 UTC 2020
Modified Files: src/sys/arch/sparc/include: cpu.h Log Message: tuck curproc/curlwp under _KERNEL only (no _KMEMUSER) To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/arch/sparc/include/cpu.h 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/sparc/include/cpu.h diff -u src/sys/arch/sparc/include/cpu.h:1.104 src/sys/arch/sparc/include/cpu.h:1.105 --- src/sys/arch/sparc/include/cpu.h:1.104 Mon Dec 30 17:13:47 2019 +++ src/sys/arch/sparc/include/cpu.h Mon Mar 9 23:48:05 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.104 2019/12/30 22:13:47 ad Exp $ */ +/* $NetBSD: cpu.h,v 1.105 2020/03/10 03:48:05 christos Exp $ */ /* * Copyright (c) 1992, 1993 @@ -397,6 +397,11 @@ struct cpu_info { struct evcnt ci_sintrcnt[16]; }; +#endif /* _KERNEL || _KMEMUSER */ + +/* Kernel only things. */ +#if defined(_KERNEL) + /* * definitions of cpu-dependent requirements * referenced in generic code @@ -408,10 +413,6 @@ struct cpu_info { #define cpu_number() (cpuinfo.ci_cpuid) -#endif /* _KERNEL || _KMEMUSER */ - -/* Kernel only things. */ -#if defined(_KERNEL) void cpu_proc_fork(struct proc *, struct proc *); #if defined(MULTIPROCESSOR)