[PATCH 10/13] cobalt/powerpc: ipipe: remove obsolete calibration handler
Philippe Gerum
rpm at xenomai.org
Sun Jan 31 15:45:37 CET 2021
From: Philippe Gerum <rpm at xenomai.org>
Signed-off-by: Philippe Gerum <rpm at xenomai.org>
---
kernel/cobalt/arch/powerpc/ipipe/machine.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/kernel/cobalt/arch/powerpc/ipipe/machine.c b/kernel/cobalt/arch/powerpc/ipipe/machine.c
index 2e1643a24..14e2c4f90 100644
--- a/kernel/cobalt/arch/powerpc/ipipe/machine.c
+++ b/kernel/cobalt/arch/powerpc/ipipe/machine.c
@@ -24,11 +24,6 @@
#include <asm/cputable.h>
#include <asm/xenomai/machine.h>
-static unsigned long mach_powerpc_calibrate(void)
-{
- return 5; /* 5 clock cycles. */
-}
-
static int mach_powerpc_init(void)
{
#ifdef CONFIG_ALTIVEC
@@ -67,7 +62,6 @@ struct cobalt_machine cobalt_machine = {
.init = mach_powerpc_init,
.late_init = NULL,
.cleanup = NULL,
- .calibrate = mach_powerpc_calibrate,
.prefault = NULL,
.fault_labels = fault_labels,
};
--
2.26.2
More information about the Xenomai
mailing list