Skip to content

Commit

Permalink
SPL kfpu enter/leave
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmilk committed Oct 22, 2024
1 parent 83dcbcc commit 5a898fe
Show file tree
Hide file tree
Showing 18 changed files with 310 additions and 1,223 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 2 additions & 5 deletions include/os/freebsd/spl/sys/simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,11 @@

#else
#define kfpu_allowed() 0
#define kfpu_initialize(tsk) do {} while (0)
#define kfpu_begin() do {} while (0)
#define kfpu_end() do {} while (0)
#define kfpu_init() (0)
#define kfpu_fini() do {} while (0)
#endif

#define simd_stat_init() 0
#define simd_stat_fini() 0
#define simd_stat_init()
#define simd_stat_fini()

#endif
5 changes: 0 additions & 5 deletions include/os/linux/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ kernel_linux_HEADERS = \
%D%/kernel/linux/mm_compat.h \
%D%/kernel/linux/mod_compat.h \
%D%/kernel/linux/page_compat.h \
%D%/kernel/linux/simd.h \
%D%/kernel/linux/simd_aarch64.h \
%D%/kernel/linux/simd_arm.h \
%D%/kernel/linux/simd_powerpc.h \
%D%/kernel/linux/simd_x86.h \
%D%/kernel/linux/utsname_compat.h \
%D%/kernel/linux/vfs_compat.h \
%D%/kernel/linux/xattr_compat.h
Expand Down
52 changes: 0 additions & 52 deletions include/os/linux/kernel/linux/simd.h

This file was deleted.

112 changes: 0 additions & 112 deletions include/os/linux/kernel/linux/simd_aarch64.h

This file was deleted.

86 changes: 0 additions & 86 deletions include/os/linux/kernel/linux/simd_arm.h

This file was deleted.

Loading

0 comments on commit 5a898fe

Please sign in to comment.