[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-7729bebc619307a0233c86f8585a4bf3eadc7ce4@git.kernel.org>
Date: Sat, 6 Jan 2018 03:53:13 -0800
From: tip-bot for Valentin Ilie <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: torvalds@...ux-foundation.org, tglx@...utronix.de,
peterz@...radead.org, linux-kernel@...r.kernel.org,
valentin.ilie@...il.com, hpa@...or.com, mingo@...nel.org
Subject: [tip:sched/urgent] 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 <valentin.ilie@...il.com>
AuthorDate: Fri, 5 Jan 2018 23:12:59 +0000
Committer: Ingo Molnar <mingo@...nel.org>
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")
Signed-off-by: Valentin Ilie <valentin.ilie@...il.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: fenghua.yu@...el.com
Cc: linux-ia64@...r.kernel.org
Cc: tony.luck@...el.com
Link: http://lkml.kernel.org/r/1515193979-24873-1-git-send-email-valentin.ilie@gmail.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/ia64/kernel/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c
index c6ecb97..9025699 100644
--- a/arch/ia64/kernel/time.c
+++ b/arch/ia64/kernel/time.c
@@ -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);
}
Powered by blists - more mailing lists