x86/paravirt: Make the struct paravirt_patch_site packed
authorHou Wenlong <houwenlong.hwl@antgroup.com>
Fri, 9 Jun 2023 09:45:32 +0000 (17:45 +0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 13 Nov 2023 11:43:50 +0000 (12:43 +0100)
commitfe22bc430c9d24394e541e16e0941a075f02fcb7
tree2c63b96515832ce7962ccd7be250c84952e01f6e
parent5c22c4726e4a9c6b2e182c0b21c2d3dd63f608c4
x86/paravirt: Make the struct paravirt_patch_site packed

Similar to struct alt_instr, make the struct paravirt_patch_site packed
and get rid of all the .align directives and save 2 bytes for one
PARA_SITE entry on X86_64.

  [ bp: Massage commit message. ]

Suggested-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/6dcb20159ded36586c5f7f2ae159e4e030256627.1686301237.git.houwenlong.hwl@antgroup.com
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h