summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-28 15:03:42 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-28 15:03:42 +0000
commit9f8d752c68142f79f827f39679b8d577cd98aa48 (patch)
tree08ca953165088542a6e910689aed2a406d79a61c /sys/arch
parent4a18d31c793e18d173c77ad603c5bcd157d95097 (diff)
From NetBSD:
pmap_page_index return type must be int, not u_int.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/include/pmap.h4
-rw-r--r--sys/arch/i386/include/pmap.old.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h
index 0fda8d0b976..fe10012495b 100644
--- a/sys/arch/i386/include/pmap.h
+++ b/sys/arch/i386/include/pmap.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.21 1995/10/11 04:20:20 mycroft Exp $ */
+/* $OpenBSD: pmap.h,v 1.2 1996/02/28 15:03:41 mickey Exp $ */
/*
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@@ -84,7 +84,7 @@ extern int PTDpaddr; /* physical address of kernel PTD */
void pmap_bootstrap __P((vm_offset_t start));
boolean_t pmap_testbit __P((vm_offset_t, int));
void pmap_changebit __P((vm_offset_t, int, int));
-__pure u_int pmap_page_index __P((vm_offset_t));
+__pure int pmap_page_index __P((vm_offset_t));
#endif
/*
diff --git a/sys/arch/i386/include/pmap.old.h b/sys/arch/i386/include/pmap.old.h
index 0fda8d0b976..309b1df5379 100644
--- a/sys/arch/i386/include/pmap.old.h
+++ b/sys/arch/i386/include/pmap.old.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.21 1995/10/11 04:20:20 mycroft Exp $ */
+/* $OpenBSD: pmap.old.h,v 1.2 1996/02/28 15:03:41 mickey Exp $ */
/*
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@@ -84,7 +84,7 @@ extern int PTDpaddr; /* physical address of kernel PTD */
void pmap_bootstrap __P((vm_offset_t start));
boolean_t pmap_testbit __P((vm_offset_t, int));
void pmap_changebit __P((vm_offset_t, int, int));
-__pure u_int pmap_page_index __P((vm_offset_t));
+__pure int pmap_page_index __P((vm_offset_t));
#endif
/*