From 0b37b8af54c1ea5009c429ba66c21949b0d93769 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 6 Dec 2005 21:09:01 +0000 Subject: - Cleanup whitespace and extra ()s in vtophys() macros. - Move vtophys() macros next to vtopte() where vtopte() exists to match comments above vtopte(). - Remove references to the alternate address space in the comment above vtopte(). amd64 never had the alternate address space, and i386 lost it prior to PAE support being added. - s/entires/entries/ in comments. Reviewed by: alc --- sys/powerpc/include/pmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/powerpc') diff --git a/sys/powerpc/include/pmap.h b/sys/powerpc/include/pmap.h index 57c6f61..213d211 100644 --- a/sys/powerpc/include/pmap.h +++ b/sys/powerpc/include/pmap.h @@ -98,7 +98,7 @@ int pmap_dev_direct_mapped(vm_offset_t, vm_size_t); boolean_t pmap_mmu_install(char *name, int prio); -#define vtophys(va) pmap_kextract(((vm_offset_t)(va))) +#define vtophys(va) pmap_kextract((vm_offset_t)(va)) #define PHYS_AVAIL_SZ 128 extern vm_offset_t phys_avail[PHYS_AVAIL_SZ]; -- cgit v1.1