]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/pkeys: Change caller of update_pkru_in_sigframe()
authorAruna Ramakrishna <aruna.ramakrishna@oracle.com>
Tue, 19 Nov 2024 17:45:19 +0000 (17:45 +0000)
committerDave Hansen <dave.hansen@linux.intel.com>
Mon, 2 Dec 2024 23:25:21 +0000 (15:25 -0800)
commit6a1853bdf17874392476b552398df261f75503e0
treeaa05e44e6b0943c8c2a85bfceba204fee19166b1
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
x86/pkeys: Change caller of update_pkru_in_sigframe()

update_pkru_in_sigframe() will shortly need some information which
is only available inside xsave_to_user_sigframe(). Move
update_pkru_in_sigframe() inside the other function to make it
easier to provide it that information.

No functional changes.

Signed-off-by: Aruna Ramakrishna <aruna.ramakrishna@oracle.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20241119174520.3987538-2-aruna.ramakrishna%40oracle.com
arch/x86/kernel/fpu/signal.c
arch/x86/kernel/fpu/xstate.h