vtime: Remove the underscore prefix invasion
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / s390 / kernel / vtime.c
index cb5093c..80d1dbc 100644 (file)
@@ -140,6 +140,10 @@ void vtime_account(struct task_struct *tsk)
 }
 EXPORT_SYMBOL_GPL(vtime_account);
 
+void vtime_account_system(struct task_struct *tsk)
+__attribute__((alias("vtime_account")));
+EXPORT_SYMBOL_GPL(vtime_account_system);
+
 void __kprobes vtime_stop_cpu(void)
 {
        struct s390_idle_data *idle = &__get_cpu_var(s390_idle);
@@ -378,9 +382,8 @@ static int __cpuinit s390_nohz_notify(struct notifier_block *self,
        long cpu = (long) hcpu;
 
        idle = &per_cpu(s390_idle, cpu);
-       switch (action) {
+       switch (action & ~CPU_TASKS_FROZEN) {
        case CPU_DYING:
-       case CPU_DYING_FROZEN:
                idle->nohz_delay = 0;
        default:
                break;