Re: [PATCH v9 35/43] x86/compressed: Export and rename add_identity_map()

From: Borislav Petkov
Date: Sun Feb 06 2022 - 14:01:48 EST


On Fri, Jan 28, 2022 at 11:17:56AM -0600, Brijesh Singh wrote:
> From: Michael Roth <michael.roth@xxxxxxx>
>
> SEV-specific code will need to add some additional mappings, but doing
> this within ident_map_64.c requires some SEV-specific helpers to be
> exported and some SEV-specific struct definitions to be pulled into
> ident_map_64.c. Instead, export add_identity_map() so SEV-specific (and
> other subsystem-specific) code can be better contained outside of
> ident_map_64.c.
>
> While at it, rename the function to kernel_add_identity_map(), similar
> to the kernel_ident_mapping_init() function it relies upon.

Add here:

"No functional changes."

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette