diff options
author | Marco Elver <elver@google.com> | 2021-07-28 21:57:41 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-07-30 17:09:01 +0200 |
commit | 00e67bf030e74a01afab8e0109244b9b0d7e2e43 (patch) | |
tree | 7a5140cf406c79753487514e31912a030b3fd2c6 /arch/s390/mm | |
parent | s390/delay: get rid of not needed header includes (diff) | |
download | linux-00e67bf030e74a01afab8e0109244b9b0d7e2e43.tar.xz linux-00e67bf030e74a01afab8e0109244b9b0d7e2e43.zip |
kfence, x86: only define helpers if !MODULE
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: Marco Elver <elver@google.com>
Link: https://lore.kernel.org/r/YQJdarx6XSUQ1tFZ@elver.google.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/mm')
0 files changed, 0 insertions, 0 deletions