summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/pmap.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-12-06 21:09:01 +0000
committerjhb <jhb@FreeBSD.org>2005-12-06 21:09:01 +0000
commit0b37b8af54c1ea5009c429ba66c21949b0d93769 (patch)
treead60d21258ea9e7b24db67918791f1df1b4b0641 /sys/powerpc/include/pmap.h
parent62350809a7f0ad034d15dc194ffca70404e18250 (diff)
downloadFreeBSD-src-0b37b8af54c1ea5009c429ba66c21949b0d93769.zip
FreeBSD-src-0b37b8af54c1ea5009c429ba66c21949b0d93769.tar.gz
- 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
Diffstat (limited to 'sys/powerpc/include/pmap.h')
-rw-r--r--sys/powerpc/include/pmap.h2
1 files changed, 1 insertions, 1 deletions
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];
OpenPOWER on IntegriCloud