diff options
author | Thomas Gleixner <[email protected]> | 2020-04-21 11:20:40 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-04-26 18:47:05 +0200 |
commit | af5c40c6ee057c5354930abdc4d34be013d0e9e0 (patch) | |
tree | 2f896585df0ad3e920159e8c630dbc70ab136f26 /scripts/gdb/linux/genpd.py | |
parent | 96f59fe291d2cdc0fcb6f5f2f4b7c9cea9533fc3 (diff) |
x86/tlb: Uninline nmi_uaccess_okay()
cpu_tlbstate is exported because various TLB-related functions need
access to it, but cpu_tlbstate is sensitive information which should
only be accessed by well-contained kernel functions and not be directly
exposed to modules.
nmi_access_ok() is the last inline function which requires access to
cpu_tlbstate. Move it into the TLB code.
No functional change.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Alexandre Chartre <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions