summaryrefslogtreecommitdiff
path: root/kernel/kcov.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-12-03 10:51:50 +0100
committerIngo Molnar <mingo@kernel.org>2018-12-03 10:51:50 +0100
commitddd1bd5cfde57973ba816e118c9c452934bb09e7 (patch)
treed90457baeb0bcc9d81cd1ea3a9d8c24cf9745d64 /kernel/kcov.c
parente8e94fce14658defc659021a50d4253a681d02e7 (diff)
parent2595646791c319cadfdbf271563aac97d0843dc7 (diff)
downloadlwn-ddd1bd5cfde57973ba816e118c9c452934bb09e7.tar.gz
lwn-ddd1bd5cfde57973ba816e118c9c452934bb09e7.zip
Merge tag 'v4.20-rc5' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/kcov.c')
-rw-r--r--kernel/kcov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kcov.c b/kernel/kcov.c
index 3ebd09efe72a..97959d7b77e2 100644
--- a/kernel/kcov.c
+++ b/kernel/kcov.c
@@ -56,7 +56,7 @@ struct kcov {
struct task_struct *t;
};
-static bool check_kcov_mode(enum kcov_mode needed_mode, struct task_struct *t)
+static notrace bool check_kcov_mode(enum kcov_mode needed_mode, struct task_struct *t)
{
unsigned int mode;
@@ -78,7 +78,7 @@ static bool check_kcov_mode(enum kcov_mode needed_mode, struct task_struct *t)
return mode == needed_mode;
}
-static unsigned long canonicalize_ip(unsigned long ip)
+static notrace unsigned long canonicalize_ip(unsigned long ip)
{
#ifdef CONFIG_RANDOMIZE_BASE
ip -= kaslr_offset();