summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/powerpc/pci/mpcpcibus.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/powerpc/pci/mpcpcibus.c b/sys/arch/powerpc/pci/mpcpcibus.c
index 7d5611df67c..990a627d6b0 100644
--- a/sys/arch/powerpc/pci/mpcpcibus.c
+++ b/sys/arch/powerpc/pci/mpcpcibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibus.c,v 1.26 2001/06/08 08:09:20 art Exp $ */
+/* $OpenBSD: mpcpcibus.c,v 1.27 2001/06/24 05:18:19 drahn Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -707,17 +707,17 @@ mpcpcibrprint(aux, pnp)
/*
* Get PCI physical address from given viritual address.
- * XXX Note that cross page boundarys are *not* garantueed to work!
+ * XXX Note that cross page boundarys are *not* guarantee to work!
*/
vm_offset_t
vtophys(p)
- void *p;
+ void * p;
{
- vm_offset_t pa;
- vm_offset_t va;
+ paddr_t pa;
+ vaddr_t va;
- va = (vm_offset_t)p;
+ va = (vaddr_t) p;
if((vm_offset_t)va < VM_MIN_KERNEL_ADDRESS) {
pa = va;
}