diff options
author | marcel <marcel@FreeBSD.org> | 2002-10-12 20:35:56 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-10-12 20:35:56 +0000 |
commit | e7eb3591f6a5c8786a1cc7434872b76124563be4 (patch) | |
tree | a5e1e8c632f337ca85a5269ca71739f2ef0962bd /sys | |
parent | 2fdf0ba50ed92dcffb1abd09afb959714349ccd0 (diff) | |
download | FreeBSD-src-e7eb3591f6a5c8786a1cc7434872b76124563be4.zip FreeBSD-src-e7eb3591f6a5c8786a1cc7434872b76124563be4.tar.gz |
Remove the dependency on ia64_cpu.h by not defining pmap_kextract()
as a trivial function that only calls ia64_tpa() and hence requires
the prototype of ia64_tpa(), but by defining pmap_kextract as
ia64_tpa. This solves the inclusion ordering issue in ddb/db_watch.c
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/include/pmap.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/ia64/include/pmap.h b/sys/ia64/include/pmap.h index 8ed0712..03ef3bf 100644 --- a/sys/ia64/include/pmap.h +++ b/sys/ia64/include/pmap.h @@ -59,18 +59,13 @@ #endif #define MAXKPT (PAGE_SIZE/sizeof(vm_offset_t)) - /* * Routine: pmap_kextract * Function: * Extract the physical page address associated * kernel virtual address. */ -static __inline vm_offset_t -pmap_kextract(vm_offset_t va) -{ - return ia64_tpa(va); -} +#define pmap_kextract ia64_tpa #define vtophys(va) pmap_kextract(((vm_offset_t) (va))) |