mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
freebsd: simplify MD isa_defs.h
Most of this file was a pile of defines, apparently from Solaris that controlled nothing in the source tree. A few things controlled the definition of unused types or macros which I have removed. Considerable further cleanup is possible including removal of architectures FreeBSD never supported. This file should likely converge with the Linux version to the extent possible. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Brooks Davis <brooks.davis@sri.com> Closes #14127
This commit is contained in:
committed by
Brian Behlendorf
parent
e3ba8eb12e
commit
ecbf02791f
@@ -47,31 +47,6 @@
|
||||
typedef uint_t zoneid_t;
|
||||
typedef int projid_t;
|
||||
|
||||
/*
|
||||
* Definitions remaining from previous partial support for 64-bit file
|
||||
* offsets. This partial support for devices greater than 2gb requires
|
||||
* compiler support for long long.
|
||||
*/
|
||||
#ifdef _LONG_LONG_LTOH
|
||||
typedef union {
|
||||
offset_t _f; /* Full 64 bit offset value */
|
||||
struct {
|
||||
int32_t _l; /* lower 32 bits of offset value */
|
||||
int32_t _u; /* upper 32 bits of offset value */
|
||||
} _p;
|
||||
} lloff_t;
|
||||
#endif
|
||||
|
||||
#ifdef _LONG_LONG_HTOL
|
||||
typedef union {
|
||||
offset_t _f; /* Full 64 bit offset value */
|
||||
struct {
|
||||
int32_t _u; /* upper 32 bits of offset value */
|
||||
int32_t _l; /* lower 32 bits of offset value */
|
||||
} _p;
|
||||
} lloff_t;
|
||||
#endif
|
||||
|
||||
#include <sys/param.h> /* for NBBY */
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user