X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=kernel%2Fkcov.c;h=97959d7b77e2a9f535af0eda0c9e41fac1fbe798;hb=e9f3a2bcc3742960e28c8d37165406c6c55500b9;hp=3ebd09efe72a67fcc1e88761e91e306880c5ae0a;hpb=44fedd7da485bafcc5eee8794fa54cfc0c047dd4;p=linux-2.6-microblaze.git 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();