diff options
author | Thomas Gleixner <[email protected]> | 2021-10-15 03:16:15 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-10-20 15:27:27 +0200 |
commit | ca834defd33bae9cf9542ff92b15635a84e91946 (patch) | |
tree | b18f6092eff4e6f07719f78c030e37618c343c27 /arch/x86/kernel/process.c | |
parent | ea4d6938d4c0761672ff6237964a20db3cb95cc1 (diff) |
x86/fpu: Rework copy_xstate_to_uabi_buf()
Prepare for replacing the KVM copy xstate to user function by extending
copy_xstate_to_uabi_buf() with a pkru argument which allows the caller to
hand in the pkru value, which is required for KVM because the guest PKRU is
not accessible via current. Fixup all callsites accordingly.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/kernel/process.c')
0 files changed, 0 insertions, 0 deletions