summaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm/perms.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drivers/misc/lkdtm/perms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/lkdtm/perms.c b/drivers/misc/lkdtm/perms.c
index b93404d656..5b861dbff2 100644
--- a/drivers/misc/lkdtm/perms.c
+++ b/drivers/misc/lkdtm/perms.c
@@ -61,7 +61,7 @@ static void *setup_function_descriptor(func_desc_t *fdesc, void *dst)
return fdesc;
}
-static noinline void execute_location(void *dst, bool write)
+static noinline __nocfi void execute_location(void *dst, bool write)
{
void (*func)(void);
func_desc_t fdesc;