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

Borislav Petkov
2022-02-06T19:01:48Z

On Fri, Jan 28, 2022 at 11:17:56AM -0600, Brijesh Singh wrote:
> From: Michael Roth <michael.roth@amd.com>
>
> 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.