From: Heiko Carstens Date: Mon, 14 Dec 2020 21:39:01 +0000 (+0100) Subject: s390/idle: allow arch_cpu_idle() to be kprobed X-Git-Tag: v5.15~2120^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d93b7011831edc42760aa5d2f0727edda7257d5;p=platform%2Fkernel%2Flinux-starfive.git s390/idle: allow arch_cpu_idle() to be kprobed Remove NOKPROBE_SYMBOL() for arch_cpu_idle(). This might have made sense when enabled_wait() (aka arch_cpu_idle()) was called from udelay. But now there shouldn't be a reason why s390 should be the only architecture which doesn't allow arch_cpu_idle() to be probed. Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/kernel/idle.c b/arch/s390/kernel/idle.c index ae27e9f..a5d4d80 100644 --- a/arch/s390/kernel/idle.c +++ b/arch/s390/kernel/idle.c @@ -9,7 +9,6 @@ #include #include -#include #include #include #include @@ -45,7 +44,6 @@ void arch_cpu_idle(void) raw_write_seqcount_end(&idle->seqcount); raw_local_irq_enable(); } -NOKPROBE_SYMBOL(arch_cpu_idle); static ssize_t show_idle_count(struct device *dev, struct device_attribute *attr, char *buf)