summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/vm_machdep.c6
-rw-r--r--sys/alpha/include/cpu.h4
-rw-r--r--sys/powerpc/aim/vm_machdep.c6
-rw-r--r--sys/powerpc/powerpc/vm_machdep.c6
4 files changed, 11 insertions, 11 deletions
diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c
index 37fce54..89ee4e3 100644
--- a/sys/alpha/alpha/vm_machdep.c
+++ b/sys/alpha/alpha/vm_machdep.c
@@ -38,7 +38,7 @@
*
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
- * $Id: vm_machdep.c,v 1.11 1999/02/08 02:42:12 dillon Exp $
+ * $Id: vm_machdep.c,v 1.12 1999/04/19 14:14:12 peter Exp $
*/
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -219,8 +219,8 @@ cpu_fork(p1, p2)
void
cpu_set_fork_handler(p, func, arg)
struct proc *p;
- void (*func) __P((void *));
- void *arg;
+ void (*func) __P((const void *));
+ const void *arg;
{
/*
* Note that the trap frame follows the args, so the function
diff --git a/sys/alpha/include/cpu.h b/sys/alpha/include/cpu.h
index e4cf206..990f922 100644
--- a/sys/alpha/include/cpu.h
+++ b/sys/alpha/include/cpu.h
@@ -1,4 +1,4 @@
-/* $Id: cpu.h,v 1.4 1998/10/06 08:40:17 dfr Exp $ */
+/* $Id: cpu.h,v 1.5 1999/02/02 09:08:23 bde Exp $ */
/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */
/*
@@ -174,7 +174,7 @@ void switch_trampoline __P((void)); /* MAGIC */
void syscall __P((u_int64_t, struct trapframe *));
void trap __P((unsigned long, unsigned long, unsigned long, unsigned long,
struct trapframe *));
-void cpu_set_fork_handler __P((struct proc *, void (*pc)(void *), void *));
+void cpu_set_fork_handler __P((struct proc *, void (*pc)(const void *), const void *));
#endif /* _KERNEL */
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c
index 37fce54..89ee4e3 100644
--- a/sys/powerpc/aim/vm_machdep.c
+++ b/sys/powerpc/aim/vm_machdep.c
@@ -38,7 +38,7 @@
*
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
- * $Id: vm_machdep.c,v 1.11 1999/02/08 02:42:12 dillon Exp $
+ * $Id: vm_machdep.c,v 1.12 1999/04/19 14:14:12 peter Exp $
*/
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -219,8 +219,8 @@ cpu_fork(p1, p2)
void
cpu_set_fork_handler(p, func, arg)
struct proc *p;
- void (*func) __P((void *));
- void *arg;
+ void (*func) __P((const void *));
+ const void *arg;
{
/*
* Note that the trap frame follows the args, so the function
diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c
index 37fce54..89ee4e3 100644
--- a/sys/powerpc/powerpc/vm_machdep.c
+++ b/sys/powerpc/powerpc/vm_machdep.c
@@ -38,7 +38,7 @@
*
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
- * $Id: vm_machdep.c,v 1.11 1999/02/08 02:42:12 dillon Exp $
+ * $Id: vm_machdep.c,v 1.12 1999/04/19 14:14:12 peter Exp $
*/
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -219,8 +219,8 @@ cpu_fork(p1, p2)
void
cpu_set_fork_handler(p, func, arg)
struct proc *p;
- void (*func) __P((void *));
- void *arg;
+ void (*func) __P((const void *));
+ const void *arg;
{
/*
* Note that the trap frame follows the args, so the function
OpenPOWER on IntegriCloud