diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2020-12-14 22:39:01 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2020-12-16 14:55:50 +0100 |
commit | 8d93b7011831edc42760aa5d2f0727edda7257d5 (patch) | |
tree | 6446512cfc33bc8d6c9af56fd3ae676e7f559d7d | |
parent | 7494755a9ad62be7e389b535c77e85ed9c66bece (diff) | |
download | linux-8d93b7011831edc42760aa5d2f0727edda7257d5.tar.bz2 |
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 <hca@linux.ibm.com>
-rw-r--r-- | arch/s390/kernel/idle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/idle.c b/arch/s390/kernel/idle.c index ae27e9fb5d94..a5d4d80d6ede 100644 --- a/arch/s390/kernel/idle.c +++ b/arch/s390/kernel/idle.c @@ -9,7 +9,6 @@ #include <linux/kernel.h> #include <linux/kernel_stat.h> -#include <linux/kprobes.h> #include <linux/notifier.h> #include <linux/init.h> #include <linux/cpu.h> @@ -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) |