mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ia64: Fix syntax error introduced by e2339a4caa5e
@ 2018-01-05 23:12 Valentin Ilie
  2018-01-06 11:53 ` [tip:sched/urgent] ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y tip-bot for Valentin Ilie
  0 siblings, 1 reply; 2+ messages in thread
From: Valentin Ilie @ 2018-01-05 23:12 UTC (permalink / raw)
  To: tony.luck; +Cc: fenghua.yu, mingo, linux-ia64, linux-kernel, valentin.ilie

Remove extra parentheses.

Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
---
 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);
 	}
 
-- 
2.7.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:sched/urgent] ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y
  2018-01-05 23:12 [PATCH] ia64: Fix syntax error introduced by e2339a4caa5e Valentin Ilie
@ 2018-01-06 11:53 ` tip-bot for Valentin Ilie
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Valentin Ilie @ 2018-01-06 11:53 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: torvalds, tglx, peterz, linux-kernel, valentin.ilie, hpa, mingo

Commit-ID:  7729bebc619307a0233c86f8585a4bf3eadc7ce4
Gitweb:     https://git.kernel.org/tip/7729bebc619307a0233c86f8585a4bf3eadc7ce4
Author:     Valentin Ilie <valentin.ilie@gmail.com>
AuthorDate: Fri, 5 Jan 2018 23:12:59 +0000
Committer:  Ingo Molnar <mingo@kernel.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@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: fenghua.yu@intel.com
Cc: linux-ia64@vger.kernel.org
Cc: tony.luck@intel.com
Link: http://lkml.kernel.org/r/1515193979-24873-1-git-send-email-valentin.ilie@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.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);
 	}
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-06 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-05 23:12 [PATCH] ia64: Fix syntax error introduced by e2339a4caa5e Valentin Ilie
2018-01-06 11:53 ` [tip:sched/urgent] ia64, sched/cputime: Fix build error if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y tip-bot for Valentin Ilie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome