aboutsummaryrefslogtreecommitdiffstats
path: root/module/Kbuild.in
diff options
context:
space:
mode:
authorJorgen Lundman <[email protected]>2023-01-18 04:09:19 +0900
committerGitHub <[email protected]>2023-01-17 11:09:19 -0800
commit68c0771cc9d3ef06ab3165c1c3fee4169a69854d (patch)
treebfe0adcf90407560e74e6c5e21acc123cb069fb3 /module/Kbuild.in
parent19d3961589bdedb24e245a1e12db758f2d96ff86 (diff)
Unify Assembler files between Linux and Windows
Add new macro ASMABI used by Windows to change calling API to "sysv_abi". Reviewed-by: Attila Fülöp <[email protected]> Reviewed-by: Richard Yao <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Jorgen Lundman <[email protected]> Closes #14228
Diffstat (limited to 'module/Kbuild.in')
-rw-r--r--module/Kbuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/Kbuild.in b/module/Kbuild.in
index a39f9d9d0..a1ea08cd4 100644
--- a/module/Kbuild.in
+++ b/module/Kbuild.in
@@ -151,10 +151,10 @@ zfs-$(CONFIG_PPC) += $(addprefix icp/,$(ICP_OBJS_PPC_PPC64))
zfs-$(CONFIG_PPC64) += $(addprefix icp/,$(ICP_OBJS_PPC_PPC64))
$(addprefix $(obj)/icp/,$(ICP_OBJS) $(ICP_OBJS_X86) $(ICP_OBJS_X86_64) \
- $(ICP_OBJS_ARM64) $(ICP_OBJS_PPC_PPC64)) : asflags-y += -I$(icp_include)
+ $(ICP_OBJS_ARM64) $(ICP_OBJS_PPC_PPC64)) : asflags-y += -I$(icp_include) -I$(zfs_include)/os/linux/spl -I$(zfs_include)
$(addprefix $(obj)/icp/,$(ICP_OBJS) $(ICP_OBJS_X86) $(ICP_OBJS_X86_64) \
- $(ICP_OBJS_ARM64) $(ICP_OBJS_PPC_PPC64)) : ccflags-y += -I$(icp_include)
+ $(ICP_OBJS_ARM64) $(ICP_OBJS_PPC_PPC64)) : ccflags-y += -I$(icp_include) -I$(zfs_include)/os/linux/spl -I$(zfs_include)
# Suppress objtool "return with modified stack frame" warnings.
OBJECT_FILES_NON_STANDARD_aesni-gcm-x86_64.o := y