On 2024-11-08 09:12, Andrew Cooper wrote:
Work to rebase the Trenchboot patch series has encountered:

   In file included from ./arch/x86/include/asm/tpm.h:4,
                    from arch/x86/boot/../tpm.c:23:
   ./arch/x86/include/asm/bootinfo.h:88:35: error: expected '=', ',', ';', 
'asm' or '__attribute__' before 'next_boot_module_index'
      88 | static inline unsigned int __init next_boot_module_index(
         |

Fix this by including the necessary header.

Fixes: 74af2d98276d ("x86/boot: eliminate module_map")
Reported-by: Krystian Hebel <[email protected]>
Signed-off-by: Andrew Cooper <[email protected]>

Reviewed-by: Jason Andryuk <[email protected]>

Reply via email to