aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fpu.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2020-11-02 11:54:02 -0800
committerBorislav Petkov <bp@suse.de>2021-01-12 12:31:28 +0100
commit9297e602adf8d5587d83941c48e4dbae46c8df5f (patch)
tree3979ae10b279b2028c8f72d4b84417df37dd4df2 /lib/test_fpu.c
parent4b2d8ca9208be636b30e924b1cbcb267b0740c93 (diff)
downloadlinux-9297e602adf8d5587d83941c48e4dbae46c8df5f.tar.gz
linux-9297e602adf8d5587d83941c48e4dbae46c8df5f.tar.bz2
linux-9297e602adf8d5587d83941c48e4dbae46c8df5f.zip
selftests/x86: Use __builtin_ia32_read/writeeflags
The asm to read and write EFLAGS from userspace is horrible. The compiler builtins are now available on all supported compilers, so use them instead. (The compiler builtins are also unnecessarily ugly, but that's a more manageable level of ugliness.) Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/aee4b1cdfc56083eb779ce927b7d3459aad2af76.1604346818.git.luto@kernel.org
Diffstat (limited to 'lib/test_fpu.c')
0 files changed, 0 insertions, 0 deletions