diff options
author | Gvozden Neskovic <[email protected]> | 2017-03-07 21:59:31 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-03-07 12:59:31 -0800 |
commit | 650383f2838d5864f127e9d8595b97ad024c9648 (patch) | |
tree | 95c42019afea06be3e8c0158edc0d0b4860419ca /module/icp/Makefile.in | |
parent | 5fc73c46f9f94d2697b77a830dd9fb8a85368d23 (diff) |
[icp] fpu and asm cleanup for linux
Properly annotate functions and data section so that objtool does not complain
when CONFIG_STACK_VALIDATION and CONFIG_FRAME_POINTER are enabled.
Pass KERNELCPPFLAGS to assembler.
Use kfpu_begin()/kfpu_end() to protect SIMD regions in Linux kernel.
Reviewed-by: Tom Caputi <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Gvozden Neskovic <[email protected]>
Closes #5872
Closes #5041
Diffstat (limited to 'module/icp/Makefile.in')
-rw-r--r-- | module/icp/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/icp/Makefile.in b/module/icp/Makefile.in index b822635b7..77b2ec1b5 100644 --- a/module/icp/Makefile.in +++ b/module/icp/Makefile.in @@ -18,12 +18,13 @@ endif ifeq ($(TARGET_ASM_DIR), asm-i386) ASM_SOURCES := endif - + ifeq ($(TARGET_ASM_DIR), asm-generic) ASM_SOURCES := endif EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@ +EXTRA_AFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@ obj-$(CONFIG_ZFS) := $(MODULE).o |