[<prev] [next>] [day] [month] [year] [list]
Message-ID: <167342989503.4906.9427028157205316404.tip-bot2@tip-bot2>
Date: Wed, 11 Jan 2023 09:38:15 -0000
From: "tip-bot2 for Ingo Molnar" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: kernel test robot <lkp@...el.com>, Ingo Molnar <mingo@...nel.org>,
linux-kernel@...r.kernel.org, Nicholas Piggin <npiggin@...il.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Alexander Gordeev <agordeev@...ux.ibm.com>, x86@...nel.org
Subject: [tip: sched/core] sched/cputime: Fix IA64 build error of missing
arch_vtime_task_switch() prototype
The following commit has been merged into the sched/core branch of tip:
Commit-ID: cd9f5c3d3096e26fa128ae747f66383002001398
Gitweb: https://git.kernel.org/tip/cd9f5c3d3096e26fa128ae747f66383002001398
Author: Ingo Molnar <mingo@...nel.org>
AuthorDate: Wed, 11 Jan 2023 10:25:34 +01:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Wed, 11 Jan 2023 10:31:57 +01:00
sched/cputime: Fix IA64 build error of missing arch_vtime_task_switch() prototype
The following commit:
c89970202a11 ("cputime: remove cputime_to_nsecs fallback")
Removed an <asm/cputime.h> inclusion from <linux/sched/cputime.h>, but this
broke the IA64 build:
arch/ia64/kernel/time.c:110:6: warning: no previous prototype for 'arch_vtime_task_switch' [-Wmissing-prototypes]
Add in the missing <asm/cputime.h> header to fix it.
Fixes: c89970202a11 ("cputime: remove cputime_to_nsecs fallback")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Cc: linux-kernel@...r.kernel.org
Cc: Nicholas Piggin <npiggin@...il.com>
Cc: Peter Zijlstra (Intel) <peterz@...radead.org>
Cc: Alexander Gordeev <agordeev@...ux.ibm.com>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/ia64/kernel/time.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c
index fa9c0ab..83ef044 100644
--- a/arch/ia64/kernel/time.c
+++ b/arch/ia64/kernel/time.c
@@ -25,6 +25,7 @@
#include <linux/platform_device.h>
#include <linux/sched/cputime.h>
+#include <asm/cputime.h>
#include <asm/delay.h>
#include <asm/efi.h>
#include <asm/hw_irq.h>
Powered by blists - more mailing lists