x86/mtrr: Rename prepare_set() and post_set()
authorJuergen Gross <jgross@suse.com>
Wed, 2 Nov 2022 07:47:01 +0000 (08:47 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 10 Nov 2022 12:12:44 +0000 (13:12 +0100)
commitd5f66d5d10611978c3a93cc94a811d74e0cf6cbc
tree6d08a9201bb9c76b2e54b39b43fcfb48ed3d745e
parent45fa71f19a2d73f157d6892a8d677a738a0414fd
x86/mtrr: Rename prepare_set() and post_set()

Rename the currently MTRR-specific functions prepare_set() and
post_set() in preparation to move them. Make them non-static and put
their prototypes into cacheinfo.h, where they will end after moving them
to their final position anyway.

Expand the comment before the functions with an introductory line and
rename two related static variables, too.

  [ bp: Massage commit message. ]

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221102074713.21493-5-jgross@suse.com
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/include/asm/cacheinfo.h
arch/x86/kernel/cpu/mtrr/generic.c