diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2018-11-28 23:20:11 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2018-12-03 19:15:32 +0100 |
commit | 6637401c35b2f327a35d27f44bda05e327f2f017 (patch) | |
tree | d9a2a4d3782dab5b55273a7a035500af279545f8 /arch/sparc/kernel/leon_kernel.c | |
parent | 1a4226efaf808fe9079ea3b29919883008918297 (diff) |
x86/fpu: Add might_fault() to user_insn()
Every user of user_insn() passes an user memory pointer to this macro.
Add might_fault() to user_insn() so we can spot users which are using
this macro in sections where page faulting is not allowed.
[ bp: Space it out to make it more visible. ]
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: "Jason A. Donenfeld" <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: kvm ML <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/sparc/kernel/leon_kernel.c')
0 files changed, 0 insertions, 0 deletions