aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/preempt-locking.txt
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-04-22 13:16:47 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-19 15:47:18 +0200
commit3a0aee4801d475b64a408539c01ec0d17d52192b (patch)
treed73a8d2e97069b135cc3a79508d5d8de37fde4c2 /Documentation/preempt-locking.txt
parentx86/fpu: Move math_state_restore() to fpu/core.c (diff)
downloadlinux-dev-3a0aee4801d475b64a408539c01ec0d17d52192b.tar.xz
linux-dev-3a0aee4801d475b64a408539c01ec0d17d52192b.zip
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.txt2
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.
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