Module Name: src
Committed By: christos
Date: Tue Mar 10 03:49:56 UTC 2020
Modified Files:
src/sys/arch/sparc64/include: cpu.h
Log Message:
kill extra curproc/curlwp definitions that have no chance of working.
To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/arch/sparc64/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/sparc64/include/cpu.h
diff -u src/sys/arch/sparc64/include/cpu.h:1.129 src/sys/arch/sparc64/include/cpu.h:1.130
--- src/sys/arch/sparc64/include/cpu.h:1.129 Sun Dec 29 16:09:27 2019
+++ src/sys/arch/sparc64/include/cpu.h Mon Mar 9 23:49:56 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.129 2019/12/29 21:09:27 martin Exp $ */
+/* $NetBSD: cpu.h,v 1.130 2020/03/10 03:49:56 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -457,15 +457,5 @@ void kgdb_panic(void);
int fixalign(struct lwp *, struct trapframe64 *);
int emulinstr(vaddr_t, struct trapframe64 *);
-#else /* _KERNEL */
-
-/*
- * XXX: provide some definitions for crash(8), probably can share
- */
-#if defined(_KMEMUSER)
-#define curcpu() (((struct cpu_info *)CPUINFO_VA)->ci_self)
-#define curlwp curcpu()->ci_curlwp
-#endif
-
#endif /* _KERNEL */
#endif /* _CPU_H_ */