]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/PVH: adjust function/data placement
authorJan Beulich <jbeulich@suse.com>
Thu, 30 Sep 2021 12:20:42 +0000 (14:20 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 5 Oct 2021 06:36:17 +0000 (08:36 +0200)
commit59f7e5374175ce5d776efeb12a1e61cd6b1f82fb
tree3949c96168f42fb12d41c684de1ea2b502b7d6ad
parent079c4baa2aad05e8007faa24b2411c1457f60d74
x86/PVH: adjust function/data placement

Two of the variables can live in .init.data, allowing the open-coded
placing in .data to go away. Another "variable" is used to communicate a
size value only to very early assembly code, which hence can be both
const and live in .init.*. Additionally two functions were lacking
__init annotations.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/3b0bb22e-43f4-e459-c5cb-169f996b5669@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/platform/pvh/enlighten.c