HomeFreeBSD

zfs: Cherry-pick upstream commit ef977fce6636 to fix macOS/arm64 bootstrap

Description

zfs: Cherry-pick upstream commit ef977fce6636 to fix macOS/arm64 bootstrap

Upstream commit message:

Support running FreeBSD buildworld on Arm-based macOS hosts

Arm-based Macs are like FreeBSD and provide a full 64-bit stat from the
start, so have no stat64 variants. Thus, define stat64 and fstat64 as
aliases for the normal versions.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
Closes #11771

MFC after: 1 week

Details

Provenance
jrtc27Authored on Mar 27 2021, 2:23 AM
Parents
R10:fe496dc02a9a: cxgbe: Make the TOE TLS stats per-queue instead of per-port.
Branches
Unknown
Tags
Unknown