diff options
author | peter <peter@FreeBSD.org> | 2003-05-01 03:31:18 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-01 03:31:18 +0000 |
commit | 6a018fff12bc83ff6175afcdf5ed208e5adff19c (patch) | |
tree | e229c267604dafc1a440e03a9b12e56b9ffaa331 /sys/powerpc | |
parent | c2343f725ba4bf59ee03f1d8475c57c5c693d0da (diff) | |
download | FreeBSD-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/powerpc')
-rw-r--r-- | sys/powerpc/include/metadata.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/powerpc/include/metadata.h b/sys/powerpc/include/metadata.h index e9bd084..ec5e2c2 100644 --- a/sys/powerpc/include/metadata.h +++ b/sys/powerpc/include/metadata.h @@ -33,10 +33,4 @@ #define MODINFOMD_HOWTO 0x1002 #define MODINFOMD_KERNEND 0x1003 -#define MD_FETCH(mdp, info, type) ({ \ - type *__p; \ - __p = (type *)preload_search_info((mdp), MODINFO_METADATA | (info)); \ - __p ? *__p : 0; \ -}) - #endif /* !_MACHINE_METADATA_H_ */ |