summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/metadata.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-01 03:31:18 +0000
committerpeter <peter@FreeBSD.org>2003-05-01 03:31:18 +0000
commit6a018fff12bc83ff6175afcdf5ed208e5adff19c (patch)
treee229c267604dafc1a440e03a9b12e56b9ffaa331 /sys/sparc64/include/metadata.h
parentc2343f725ba4bf59ee03f1d8475c57c5c693d0da (diff)
downloadFreeBSD-src-6a018fff12bc83ff6175afcdf5ed208e5adff19c.zip
FreeBSD-src-6a018fff12bc83ff6175afcdf5ed208e5adff19c.tar.gz
Slight reorg and added AMD64 support. A couple of the MODINFOMD_* values
that were added to sparc64 and later powerpc, really should have been in the MI area. But changing that now with insufficient preperation will just cause too much pain. Move MD_FETCH() to the MI sys/linker.h file to avoid another two copies of it.
Diffstat (limited to 'sys/sparc64/include/metadata.h')
-rw-r--r--sys/sparc64/include/metadata.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/sparc64/include/metadata.h b/sys/sparc64/include/metadata.h
index a475403..dca626f 100644
--- a/sys/sparc64/include/metadata.h
+++ b/sys/sparc64/include/metadata.h
@@ -42,10 +42,4 @@ struct tlb_entry {
vm_offset_t te_va;
};
-#define MD_FETCH(mdp, info, type) ({ \
- type *__p; \
- __p = (type *)preload_search_info((mdp), MODINFO_METADATA | (info)); \
- __p ? *__p : 0; \
-})
-
#endif /* !_MACHINE_METADATA_H_ */
OpenPOWER on IntegriCloud