aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/s390/kernel/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index 1d97fe1c0e53..b05ae8584258 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -788,14 +788,14 @@ static ssize_t show_idle_time(struct sys_device *dev, char *buf)
788 } 788 }
789 new_time = idle->idle_time; 789 new_time = idle->idle_time;
790 spin_unlock_irq(&idle->lock); 790 spin_unlock_irq(&idle->lock);
791 return sprintf(buf, "%llu us\n", new_time >> 12); 791 return sprintf(buf, "%llu\n", new_time >> 12);
792} 792}
793static SYSDEV_ATTR(idle_time, 0444, show_idle_time, NULL); 793static SYSDEV_ATTR(idle_time_us, 0444, show_idle_time, NULL);
794 794
795static struct attribute *cpu_attrs[] = { 795static struct attribute *cpu_attrs[] = {
796 &attr_capability.attr, 796 &attr_capability.attr,
797 &attr_idle_count.attr, 797 &attr_idle_count.attr,
798 &attr_idle_time.attr, 798 &attr_idle_time_us.attr,
799 NULL, 799 NULL,
800}; 800};
801 801