[PATCH Dovetail v2 4/5] cobalt/machine: drop obsolete APC bits

Philippe Gerum rpm at xenomai.org
Sun Jan 17 16:08:02 CET 2021


From: Philippe Gerum <rpm at xenomai.org>

APCs are gone, drop the related machine-specific data.

Signed-off-by: Philippe Gerum <rpm at xenomai.org>
---
 include/cobalt/kernel/ipipe/pipeline/machine.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/include/cobalt/kernel/ipipe/pipeline/machine.h b/include/cobalt/kernel/ipipe/pipeline/machine.h
index 4a434bc4d..c7d2d68b4 100644
--- a/include/cobalt/kernel/ipipe/pipeline/machine.h
+++ b/include/cobalt/kernel/ipipe/pipeline/machine.h
@@ -31,8 +31,6 @@ struct cobalt_machine {
 extern struct cobalt_machine cobalt_machine;
 
 struct cobalt_machine_cpudata {
-	unsigned long apc_pending;
-	unsigned long apc_shots[BITS_PER_LONG];
 	unsigned int faults[IPIPE_NR_FAULTS];
 };
 
@@ -45,11 +43,6 @@ struct cobalt_pipeline {
 	unsigned int apc_virq;
 	unsigned long apc_map;
 	unsigned int escalate_virq;
-	struct {
-		void (*handler)(void *cookie);
-		void *cookie;
-		const char *name;
-	} apc_table[BITS_PER_LONG];
 #ifdef CONFIG_SMP
 	cpumask_t supported_cpus;
 #endif
-- 
2.26.2




More information about the Xenomai mailing list