浏览代码

[S390] appldata: Use new mod_virt_timer_periodic() function.

mod_virt_timer() was used to modify/add cpu timers for cpus that were
set online. This resulted in a one-shot timer for every cpu that was
newly added or previously set offline, instead of an interval timer,
which broke the appldata vtime interval setup.

To fix this, the new mod_virt_timer_periodic() function is used, which
adds interval timers instead of one-shot timers.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Gerald Schaefer 16 年之前
父节点
当前提交
43ae8a1b32
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/s390/appldata/appldata_base.c

+ 1 - 1
arch/s390/appldata/appldata_base.c

@@ -176,7 +176,7 @@ static void __appldata_mod_vtimer_wrap(void *p) {
 		struct vtimer_list *timer;
 		struct vtimer_list *timer;
 		u64    expires;
 		u64    expires;
 	} *args = p;
 	} *args = p;
-	mod_virt_timer(args->timer, args->expires);
+	mod_virt_timer_periodic(args->timer, args->expires);
 }
 }
 
 
 #define APPLDATA_ADD_TIMER	0
 #define APPLDATA_ADD_TIMER	0