diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-22 07:16:47 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-19 09:47:18 -0400 |
commit | 3a0aee4801d475b64a408539c01ec0d17d52192b (patch) | |
tree | d73a8d2e97069b135cc3a79508d5d8de37fde4c2 /Documentation/preempt-locking.txt | |
parent | 93b90712c64ca2db4b39fcb2e7dffcf0d478468d (diff) |
x86/fpu: Rename math_state_restore() to fpu__restore()
Move to the new fpu__*() namespace.
Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/preempt-locking.txt')
-rw-r--r-- | Documentation/preempt-locking.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/preempt-locking.txt b/Documentation/preempt-locking.txt index 57883ca2498b..e89ce6624af2 100644 --- a/Documentation/preempt-locking.txt +++ b/Documentation/preempt-locking.txt | |||
@@ -48,7 +48,7 @@ preemption must be disabled around such regions. | |||
48 | 48 | ||
49 | Note, some FPU functions are already explicitly preempt safe. For example, | 49 | Note, some FPU functions are already explicitly preempt safe. For example, |
50 | kernel_fpu_begin and kernel_fpu_end will disable and enable preemption. | 50 | kernel_fpu_begin and kernel_fpu_end will disable and enable preemption. |
51 | However, math_state_restore must be called with preemption disabled. | 51 | However, fpu__restore() must be called with preemption disabled. |
52 | 52 | ||
53 | 53 | ||
54 | RULE #3: Lock acquire and release must be performed by same task | 54 | RULE #3: Lock acquire and release must be performed by same task |