Skip to content
Snippets Groups Projects
user avatar
Marco Elver authored
x86's <asm/tlbflush.h> only declares non-module accessible functions
(such as flush_tlb_one_kernel) if !MODULE.

In preparation of including <asm/kfence.h> from the KFENCE test module,
only define the helpers if !MODULE to avoid breaking the build with
CONFIG_KFENCE_KUNIT_TEST=m.

Signed-off-by: default avatarMarco Elver <elver@google.com>
Link: https://lore.kernel.org/r/YQJdarx6XSUQ1tFZ@elver.google.com


Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
00e67bf0
History
Name Last commit Last update
..