Skip to contentSkip to conversation

ia64: Fix syntax error introduced by e2339a4caa5e

PATCH New Valentin Ilie 2 participants 2 messages Jan 5, 2018 – Jan 6, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia64: Fix syntax error introduced by e2339a4caa5e

Remove extra parentheses.

---
 arch/ia64/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/ia64/kernel/time.c +1 -1
index c6ecb97..9025699 100644
@@ -88,7 +88,7 @@ void vtime_flush(struct task_struct *tsk)
 	}
 
 	if (ti->softirq_time) {
-		delta = cycle_to_nsec(ti->softirq_time));
+		delta = cycle_to_nsec(ti->softirq_time);
 		account_system_index_time(tsk, delta, CPUTIME_SOFTIRQ);
 	}
 
Signature · 1 line
2.7.4
#1 lore raw

[tip:sched/urgent] ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y

ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y
Commit-ID:  7729bebc619307a0233c86f8585a4bf3eadc7ce4
Gitweb:     https://git.kernel.org/tip/7729bebc619307a0233c86f8585a4bf3eadc7ce4
Author:     Valentin Ilie <[email protected]>
AuthorDate: Fri, 5 Jan 2018 23:12:59 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sat, 6 Jan 2018 11:48:34 +0100

ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y

Remove the extra parenthesis.

This bug was introduced by:

e2339a4caa5e: ("ia64: Convert vtime to use nsec units directly")

---
 arch/ia64/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/ia64/kernel/time.c +1 -1
index c6ecb97..9025699 100644
@@ -88,7 +88,7 @@ void vtime_flush(struct task_struct *tsk)
 	}
 
 	if (ti->softirq_time) {
-		delta = cycle_to_nsec(ti->softirq_time));
+		delta = cycle_to_nsec(ti->softirq_time);
 		account_system_index_time(tsk, delta, CPUTIME_SOFTIRQ);
 	}