Merge tag 'livepatching-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / include / linux / moduleloader.h
index 2ba4bc834a4f8d1ddb67c47092f395f52c3d06d7..03be088fb439621fa55129502b2c3c1cbd0e64a6 100644 (file)
@@ -13,6 +13,9 @@
  * must be implemented by each architecture.
  */
 
+/* arch may override to do additional checking of ELF header architecture */
+bool module_elf_check_arch(Elf_Ehdr *hdr);
+
 /* Adjust arch-specific sections.  Return 0 on success.  */
 int module_frob_arch_sections(Elf_Ehdr *hdr,
                              Elf_Shdr *sechdrs,