Module Name: src
Committed By: matt
Date: Tue Jan 11 07:14:49 UTC 2011
Modified Files:
src/sys/arch/powerpc/include [matt-nb5-pq3]: ptrace.h
Log Message:
Anything that applies to Altivec also applies SPE since to the common powerpc
code they share identical hooks.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.70.1 src/sys/arch/powerpc/include/ptrace.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/powerpc/include/ptrace.h
diff -u src/sys/arch/powerpc/include/ptrace.h:1.10 src/sys/arch/powerpc/include/ptrace.h:1.10.70.1
--- src/sys/arch/powerpc/include/ptrace.h:1.10 Sun Mar 4 06:00:37 2007
+++ src/sys/arch/powerpc/include/ptrace.h Tue Jan 11 07:14:49 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: ptrace.h,v 1.10 2007/03/04 06:00:37 christos Exp $ */
+/* $NetBSD: ptrace.h,v 1.10.70.1 2011/01/11 07:14:49 matt Exp $ */
#ifndef _POWERPC_PTRACE_H
#define _POWERPC_PTRACE_H
@@ -22,7 +22,7 @@
#include "opt_altivec.h"
#endif
-#ifdef ALTIVEC
+#if defined(ALTIVEC) || defined(PPC_HAVE_SPE)
/* We have machine-dependent process tracing requests. */
#define __HAVE_PTRACE_MACHDEP
@@ -58,7 +58,7 @@
struct pfsnode *, struct uio *);
int procfs_machdep_validvecregs(struct lwp *, struct mount *);
-#endif /* ALTIVEC */
+#endif /* ALTIVEC || PPC_HAVE_SPE */
#endif /* _KERNEL */
#endif /* _POWERPC_PTRACE_H */