From 9eb94a0c0378ffac2cf77b0e9b9a7ea0ad577426 Mon Sep 17 00:00:00 2001 From: pk Date: Mon, 26 Oct 1998 08:16:08 +0000 Subject: [PATCH] Must protect user-land from cpuvar.h; noticed by Juergen Hannken-Illjes. --- sys/arch/sparc/include/proc.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/include/proc.h b/sys/arch/sparc/include/proc.h index af5d0cb6a9e5..9cae9006523c 100644 --- a/sys/arch/sparc/include/proc.h +++ b/sys/arch/sparc/include/proc.h @@ -1,4 +1,4 @@ -/* $NetBSD: proc.h,v 1.5 1998/10/21 07:11:47 pk Exp $ */ +/* $NetBSD: proc.h,v 1.6 1998/10/26 08:16:08 pk Exp $ */ /* * Copyright (c) 1992, 1993 @@ -44,7 +44,13 @@ * @(#)proc.h 8.1 (Berkeley) 6/11/93 */ +#if defined(_KERNEL) +/* + * Included only for the current MD definition of `curproc'. + * May not be needed in future SMP kernels. + */ #include +#endif /* * Machine-dependent part of the proc structure for SPARC.