Module Name: src
Committed By: matt
Date: Fri Aug 21 17:17:37 UTC 2009
Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: cpu.h
Log Message:
Make cpu_proc_fork copy the abi from process to process.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.90.16.1 src/sys/arch/mips/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/mips/include/cpu.h
diff -u src/sys/arch/mips/include/cpu.h:1.90 src/sys/arch/mips/include/cpu.h:1.90.16.1
--- src/sys/arch/mips/include/cpu.h:1.90 Mon May 26 15:59:29 2008
+++ src/sys/arch/mips/include/cpu.h Fri Aug 21 17:17:37 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.90 2008/05/26 15:59:29 tsutsui Exp $ */
+/* $NetBSD: cpu.h,v 1.90.16.1 2009/08/21 17:17:37 matt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -142,7 +142,7 @@
#define curpcb ((struct pcb *)curlwp->l_addr)
#define fpcurlwp (curcpu()->ci_fpcurlwp)
#define cpu_number() (0)
-#define cpu_proc_fork(p1, p2)
+#define cpu_proc_fork(p1, p2) ((void)((p2)->p_md.md_abi = (p1)->p_md.md_abi))
/* XXX simonb
* Should the following be in a cpu_info type structure?