Skip to content

Commit 84ecfd1

Browse files
James Hoganrustyrussell
authored andcommitted
modsign: add symbol prefix to certificate list
Add the arch symbol prefix (if applicable) to the asm definition of modsign_certificate_list and modsign_certificate_list_end. This uses the recently defined SYMBOL_PREFIX which is derived from CONFIG_SYMBOL_PREFIX. This fixes the build of module signing on the blackfin and metag architectures. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: David Howells <dhowells@redhat.com> Cc: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent cbdbf2a commit 84ecfd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/modsign_pubkey.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ struct key *modsign_keyring;
2121
extern __initdata const u8 modsign_certificate_list[];
2222
extern __initdata const u8 modsign_certificate_list_end[];
2323
asm(".section .init.data,\"aw\"\n"
24-
"modsign_certificate_list:\n"
24+
SYMBOL_PREFIX "modsign_certificate_list:\n"
2525
".incbin \"signing_key.x509\"\n"
2626
".incbin \"extra_certificates\"\n"
27-
"modsign_certificate_list_end:"
27+
SYMBOL_PREFIX "modsign_certificate_list_end:"
2828
);
2929

3030
/*

0 commit comments

Comments
 (0)