mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Changes to make openzfs build within FreeBSD buildworld
A collection of header changes to enable FreeBSD to build with vendored OpenZFS. Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10635
This commit is contained in:
@@ -28,8 +28,12 @@
|
||||
.file "%M%"
|
||||
|
||||
#define _ASM
|
||||
#ifdef __linux__
|
||||
#include <ia32/sys/asm_linkage.h>
|
||||
|
||||
#elif __FreeBSD__
|
||||
#include <machine/asmacros.h>
|
||||
#define SET_SIZE(x)
|
||||
#endif
|
||||
ENTRY(atomic_inc_8)
|
||||
ALTENTRY(atomic_inc_uchar)
|
||||
movl 4(%esp), %eax
|
||||
|
||||
Reference in New Issue
Block a user