[PATCH] md: RAID6: clean up CPUID and FPU enter/exit code
authorH. Peter Anvin <hpa@anvin.org>
Thu, 1 Mar 2007 04:11:25 +0000 (20:11 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Mar 2007 22:53:36 +0000 (14:53 -0800)
commita723406c4aeedb9dc5d54fb81130d13c757f41bc
tree113050f138360aceb70d5a5168ef8990acd03856
parent64a742bc61f9115b0bb270fa081e5b5b9c35dcd0
[PATCH] md: RAID6: clean up CPUID and FPU enter/exit code

- Use kernel_fpu_begin() and kernel_fpu_end()
- Use boot_cpu_has() for feature testing even in userspace

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/raid6mmx.c
drivers/md/raid6sse1.c
drivers/md/raid6sse2.c
drivers/md/raid6x86.h