Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/sparc64/sparc64 pull up 1.67 (approved by thor...
details: https://anonhg.NetBSD.org/src/rev/77cd281134f9
branches: netbsd-1-5
changeset: 488820:77cd281134f9
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jul 31 02:01:43 2000 +0000
description:
pull up 1.67 (approved by thorpej):
>address casts: long -> u_long
diffstat:
sys/arch/sparc64/sparc64/pmap.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r c2c959df29c9 -r 77cd281134f9 sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c Mon Jul 31 02:00:44 2000 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c Mon Jul 31 02:01:43 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.56.2.1 2000/07/18 16:23:31 mrg Exp $ */
+/* $NetBSD: pmap.c,v 1.56.2.2 2000/07/31 02:01:43 mrg Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
#define HWREF 1
#undef BOOT_DEBUG
@@ -1444,11 +1444,11 @@
}
}
vm_page_free1((vm_page_t)PHYS_TO_VM_PAGE((paddr_t)(u_long)ptbl));
- stxa((paddr_t)(long)&pdir[k], ASI_PHYS_CACHED, NULL);
+ stxa((paddr_t)(u_long)&pdir[k], ASI_PHYS_CACHED, NULL);
}
}
vm_page_free1((vm_page_t)PHYS_TO_VM_PAGE((paddr_t)(u_long)pdir));
- stxa((paddr_t)(long)&pm->pm_segs[i], ASI_PHYS_CACHED, NULL);
+ stxa((paddr_t)(u_long)&pm->pm_segs[i], ASI_PHYS_CACHED, NULL);
}
vm_page_free1((vm_page_t)PHYS_TO_VM_PAGE((paddr_t)(u_long)pm->pm_segs));
pm->pm_segs = NULL;
@@ -1533,14 +1533,14 @@
if (!n) {
/* Free the damn thing */
vm_page_free1((vm_page_t)PHYS_TO_VM_PAGE((paddr_t)(u_long)ptbl));
- stxa((paddr_t)(long)&pdir[k], ASI_PHYS_CACHED, NULL);
+ stxa((paddr_t)(u_long)&pdir[k], ASI_PHYS_CACHED, NULL);
}
}
}
if (!m) {
/* Free the damn thing */
vm_page_free1((vm_page_t)PHYS_TO_VM_PAGE((paddr_t)(u_long)pdir));
- stxa((paddr_t)(long)&pm->pm_segs[i], ASI_PHYS_CACHED, NULL);
+ stxa((paddr_t)(u_long)&pm->pm_segs[i], ASI_PHYS_CACHED, NULL);
}
}
}
Home |
Main Index |
Thread Index |
Old Index