Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Include sys/proc.h for sparc/sparc64, which is requ...



details:   https://anonhg.NetBSD.org/src/rev/4ae926fa755f
branches:  trunk
changeset: 749190:4ae926fa755f
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sat Nov 21 04:04:07 2009 +0000

description:
Include sys/proc.h for sparc/sparc64, which is required for now.

diffstat:

 sys/arch/sparc/include/proc.h   |  4 +++-
 sys/arch/sparc64/include/proc.h |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 7c6607c6f9da -r 4ae926fa755f sys/arch/sparc/include/proc.h
--- a/sys/arch/sparc/include/proc.h     Sat Nov 21 03:29:14 2009 +0000
+++ b/sys/arch/sparc/include/proc.h     Sat Nov 21 04:04:07 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.15 2005/12/11 12:19:06 christos Exp $ */
+/*     $NetBSD: proc.h,v 1.16 2009/11/21 04:04:07 rmind Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -43,6 +43,8 @@
 #ifndef _SPARC_PROC_H_
 #define _SPARC_PROC_H_
 
+#include <sys/user.h> /* for sizeof(struct user) */
+
 /*
  * Machine-dependent parts of the lwp and proc structures for SPARC.
  */
diff -r 7c6607c6f9da -r 4ae926fa755f sys/arch/sparc64/include/proc.h
--- a/sys/arch/sparc64/include/proc.h   Sat Nov 21 03:29:14 2009 +0000
+++ b/sys/arch/sparc64/include/proc.h   Sat Nov 21 04:04:07 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.11 2007/10/17 19:57:30 garbled Exp $ */
+/*     $NetBSD: proc.h,v 1.12 2009/11/21 04:04:07 rmind Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -43,6 +43,8 @@
 #ifndef _SPARC64_PROC_H
 #define _SPARC64_PROC_H
 
+#include <sys/user.h> /* for sizeof(struct user) */
+
 struct mdlwp {
        struct  trapframe64 *md_tf;     /* trap/syscall registers */
        struct  fpstate64 *md_fpstate;  /* fpu state, if any; always resident */



Home | Main Index | Thread Index | Old Index