Remove __FORK_BRAINDAMAGE, and the reason to why it was there.

This commit is contained in:
ragge 1996-02-24 15:17:35 +00:00
parent 6969bbbc1c
commit df5a5e9485
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.6 1995/12/09 04:41:57 mycroft Exp $ */
/* $NetBSD: types.h,v 1.7 1996/02/24 15:17:35 ragge Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -73,6 +73,5 @@ typedef unsigned long long u_int64_t;
typedef int32_t register_t;
#define __BDEVSW_DUMP_OLD_TYPE
#define __FORK_BRAINDAMAGE
#endif /* _MACHTYPES_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.21 1996/02/11 13:39:54 ragge Exp $ */
/* $NetBSD: vm_machdep.c,v 1.22 1996/02/24 15:17:37 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@ -90,7 +90,7 @@ pagemove(from, to, size)
* No need for either double-map kernel stack or relocate it when
* forking.
*/
int
void
cpu_fork(p1, p2)
struct proc *p1, *p2;
{
@ -140,7 +140,7 @@ cpu_fork(p1, p2)
nyproc->R[0] = p1->p_pid; /* parent pid. (shouldn't be needed) */
nyproc->R[1] = 1;
return 0; /* Child is ready. Parent, return! */
return; /* Child is ready. Parent, return! */
}