Fixed building with backported AppArmor

This commit is contained in:
Nathan
2025-04-08 20:27:49 -05:00
parent 3337d21439
commit 74577147bc
3 changed files with 12 additions and 1 deletions

View File

@@ -327,6 +327,8 @@ static inline int is_vmalloc_or_module_addr(const void *x)
}
#endif
extern void kvfree(const void *addr);
static inline void compound_lock(struct page *page)
{
#ifdef CONFIG_TRANSPARENT_HUGEPAGE