mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
x86/fpu: Rename math_state_restore() to fpu__restore()
Move to the new fpu__*() namespace. Reviewed-by: Borislav Petkov <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
93b90712c6
commit
3a0aee4801
8 changed files with 11 additions and 11 deletions
|
|
@ -48,7 +48,7 @@ preemption must be disabled around such regions.
|
|||
|
||||
Note, some FPU functions are already explicitly preempt safe. For example,
|
||||
kernel_fpu_begin and kernel_fpu_end will disable and enable preemption.
|
||||
However, math_state_restore must be called with preemption disabled.
|
||||
However, fpu__restore() must be called with preemption disabled.
|
||||
|
||||
|
||||
RULE #3: Lock acquire and release must be performed by same task
|
||||
|
|
|
|||
Loading…
Reference in a new issue