mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
0d1db3e370
Fix the following warning found by kbuild: certs/system_certificates.S:24: Error: misaligned data because: KEYS: Reserve an extra certificate symbol for inserting without recompiling doesn't correctly align system_extra_cert_used. Signed-off-by: David Howells <dhowells@redhat.com> cc: Mehmet Kayaalp <mkayaalp@linux.vnet.ibm.com>
36 lines
917 B
ArmAsm
36 lines
917 B
ArmAsm
#include <linux/export.h>
|
|
#include <linux/init.h>
|
|
|
|
__INITRODATA
|
|
|
|
.align 8
|
|
.globl VMLINUX_SYMBOL(system_certificate_list)
|
|
VMLINUX_SYMBOL(system_certificate_list):
|
|
__cert_list_start:
|
|
#ifdef CONFIG_MODULE_SIG
|
|
.incbin "certs/signing_key.x509"
|
|
#endif
|
|
.incbin "certs/x509_certificate_list"
|
|
__cert_list_end:
|
|
|
|
#ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
|
|
.globl VMLINUX_SYMBOL(system_extra_cert)
|
|
.size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
|
|
VMLINUX_SYMBOL(system_extra_cert):
|
|
.fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
|
|
|
|
.align 4
|
|
.globl VMLINUX_SYMBOL(system_extra_cert_used)
|
|
VMLINUX_SYMBOL(system_extra_cert_used):
|
|
.int 0
|
|
|
|
#endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
|
|
|
|
.align 8
|
|
.globl VMLINUX_SYMBOL(system_certificate_list_size)
|
|
VMLINUX_SYMBOL(system_certificate_list_size):
|
|
#ifdef CONFIG_64BIT
|
|
.quad __cert_list_end - __cert_list_start
|
|
#else
|
|
.long __cert_list_end - __cert_list_start
|
|
#endif
|