HomeFreeBSD

Linux 5.0 compat: ASM_BUG macro

Description

Linux 5.0 compat: ASM_BUG macro

The 5.0 kernel defines the macro ASM_BUG. In order to prevent a
conflict and build failure rename ASM_BUG to ZFS_ASM_BUG. This
is currently only an issue on aarch64 but all instances of
ASM_BUG we're renamed to avoid any future conflict on x86_64.

Reviewed-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Chris Dunlop <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8725
Issue #8545

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 8 2019, 5:18 PM
GitHub <noreply@github.com>Committed on May 8 2019, 5:18 PM
Parents
rG515ddf65042e: Fix errant EFAULT during writes (#8719)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGa20f43b51ba8: Linux 5.0 compat: ASM_BUG macro (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 8 2019, 5:18 PM