[PATCH 1/3] Remove superfluous <rtems/score/wkspace.h> includes

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Apr 20 10:53:43 UTC 2021


---
 bsps/include/bsp/bootcard.h                    | 1 -
 cpukit/libcsupport/src/newlibc_reent.c         | 1 -
 cpukit/posix/src/psignal.c                     | 1 -
 cpukit/posix/src/psignalclearsignals.c         | 1 -
 cpukit/posix/src/psignalsetprocesssignals.c    | 1 -
 cpukit/posix/src/psignalunblockthread.c        | 1 -
 cpukit/sapi/src/exinit.c                       | 1 -
 cpukit/score/cpu/bfin/cpu.c                    | 1 -
 cpukit/score/cpu/lm32/cpu.c                    | 1 -
 cpukit/score/cpu/mips/cpu.c                    | 1 -
 cpukit/score/cpu/moxie/cpu.c                   | 1 -
 cpukit/score/cpu/no_cpu/cpu.c                  | 1 -
 cpukit/score/cpu/or1k/cpu.c                    | 1 -
 cpukit/score/cpu/v850/cpu.c                    | 1 -
 cpukit/score/cpu/x86_64/cpu.c                  | 1 -
 cpukit/score/src/coremsgflushwait.c            | 1 -
 cpukit/score/src/coremsgsubmit.c               | 1 -
 cpukit/score/src/objectinitializeinformation.c | 1 -
 cpukit/score/src/schedulercbscleanup.c         | 1 -
 cpukit/score/src/schedulercbsdestroyserver.c   | 1 -
 cpukit/score/src/threaddispatch.c              | 1 -
 cpukit/score/src/threadrestart.c               | 1 -
 22 files changed, 22 deletions(-)

diff --git a/bsps/include/bsp/bootcard.h b/bsps/include/bsp/bootcard.h
index 0277dd8439..4a867990e0 100644
--- a/bsps/include/bsp/bootcard.h
+++ b/bsps/include/bsp/bootcard.h
@@ -25,7 +25,6 @@
 #include <rtems/bspIo.h>
 #include <rtems/malloc.h>
 #include <rtems/score/memory.h>
-#include <rtems/score/wkspace.h>
 
 #include <bspopts.h>
 
diff --git a/cpukit/libcsupport/src/newlibc_reent.c b/cpukit/libcsupport/src/newlibc_reent.c
index 1a400eeb18..2dccfd0375 100644
--- a/cpukit/libcsupport/src/newlibc_reent.c
+++ b/cpukit/libcsupport/src/newlibc_reent.c
@@ -28,7 +28,6 @@
 
 #include <rtems/libcsupport.h>
 #include <rtems/score/threadimpl.h>
-#include <rtems/score/wkspace.h>
 
 bool newlib_create_hook(
   rtems_tcb *current_task RTEMS_UNUSED,
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index 15d4c89a31..03a187f80a 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -27,7 +27,6 @@
 #include <rtems/score/threadimpl.h>
 #include <rtems/score/threadqimpl.h>
 #include <rtems/score/watchdogimpl.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/posix/threadsup.h>
 #include <rtems/posix/psignalimpl.h>
 #include <rtems/posix/pthreadimpl.h>
diff --git a/cpukit/posix/src/psignalclearsignals.c b/cpukit/posix/src/psignalclearsignals.c
index c1a407afaa..2c824338aa 100644
--- a/cpukit/posix/src/psignalclearsignals.c
+++ b/cpukit/posix/src/psignalclearsignals.c
@@ -25,7 +25,6 @@
 
 #include <rtems/score/isr.h>
 #include <rtems/score/thread.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/seterr.h>
 #include <rtems/posix/threadsup.h>
 #include <rtems/posix/psignalimpl.h>
diff --git a/cpukit/posix/src/psignalsetprocesssignals.c b/cpukit/posix/src/psignalsetprocesssignals.c
index 00362641f2..35077bb879 100644
--- a/cpukit/posix/src/psignalsetprocesssignals.c
+++ b/cpukit/posix/src/psignalsetprocesssignals.c
@@ -24,7 +24,6 @@
 
 #include <rtems/score/isr.h>
 #include <rtems/score/thread.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/seterr.h>
 #include <rtems/posix/threadsup.h>
 #include <rtems/posix/psignalimpl.h>
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c
index a1af20a5af..de814c13cd 100644
--- a/cpukit/posix/src/psignalunblockthread.c
+++ b/cpukit/posix/src/psignalunblockthread.c
@@ -27,7 +27,6 @@
 #include <rtems/score/threadimpl.h>
 #include <rtems/score/threadqimpl.h>
 #include <rtems/score/watchdogimpl.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/seterr.h>
 #include <rtems/posix/threadsup.h>
 #include <rtems/posix/psignalimpl.h>
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 47848e1094..9015a369a2 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -39,7 +39,6 @@
 #include <rtems/score/timecounter.h>
 #include <rtems/score/threadimpl.h>
 #include <rtems/score/todimpl.h>
-#include <rtems/score/wkspace.h>
 
 RTEMS_SECTION(".rtemsroset.copyright") const char _Copyright_Notice[] =
   "Copyright (C) 1989, 2021 RTEMS Project and contributors";
diff --git a/cpukit/score/cpu/bfin/cpu.c b/cpukit/score/cpu/bfin/cpu.c
index 86a3a5e436..5a528894d8 100644
--- a/cpukit/score/cpu/bfin/cpu.c
+++ b/cpukit/score/cpu/bfin/cpu.c
@@ -19,7 +19,6 @@
 #endif
 
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/score/bfin.h>
 #include <rtems/bfin/bfin.h>
 
diff --git a/cpukit/score/cpu/lm32/cpu.c b/cpukit/score/cpu/lm32/cpu.c
index 78e870362d..cd2c4b055f 100644
--- a/cpukit/score/cpu/lm32/cpu.c
+++ b/cpukit/score/cpu/lm32/cpu.c
@@ -21,7 +21,6 @@
 #endif
 
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 
 /*  _CPU_Initialize
  *
diff --git a/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c
index 2e45959221..c8cf960db5 100644
--- a/cpukit/score/cpu/mips/cpu.c
+++ b/cpukit/score/cpu/mips/cpu.c
@@ -51,7 +51,6 @@
 #endif
 
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 
 #if CPU_HARDWARE_FP
 Context_Control_fp _CPU_Null_fp_context;
diff --git a/cpukit/score/cpu/moxie/cpu.c b/cpukit/score/cpu/moxie/cpu.c
index 2f4e823a97..5522890c59 100644
--- a/cpukit/score/cpu/moxie/cpu.c
+++ b/cpukit/score/cpu/moxie/cpu.c
@@ -18,7 +18,6 @@
 #endif
 
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 
 /*  _CPU_Initialize
  *
diff --git a/cpukit/score/cpu/no_cpu/cpu.c b/cpukit/score/cpu/no_cpu/cpu.c
index f22725c7c7..34e1c99a61 100644
--- a/cpukit/score/cpu/no_cpu/cpu.c
+++ b/cpukit/score/cpu/no_cpu/cpu.c
@@ -18,7 +18,6 @@
 #endif
 
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 
 void _CPU_Initialize(void)
 {
diff --git a/cpukit/score/cpu/or1k/cpu.c b/cpukit/score/cpu/or1k/cpu.c
index 3d9aa749af..79cb76812f 100644
--- a/cpukit/score/cpu/or1k/cpu.c
+++ b/cpukit/score/cpu/or1k/cpu.c
@@ -12,7 +12,6 @@
  */
 
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/score/cpu.h>
 
 /* bsp_start_vector_table_begin is the start address of the vector table
diff --git a/cpukit/score/cpu/v850/cpu.c b/cpukit/score/cpu/v850/cpu.c
index d203078bd4..a921775413 100644
--- a/cpukit/score/cpu/v850/cpu.c
+++ b/cpukit/score/cpu/v850/cpu.c
@@ -18,7 +18,6 @@
 #endif
 
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 
 #include <string.h> /* for memset */
 
diff --git a/cpukit/score/cpu/x86_64/cpu.c b/cpukit/score/cpu/x86_64/cpu.c
index 5cc12c69cf..6846c431ef 100644
--- a/cpukit/score/cpu/x86_64/cpu.c
+++ b/cpukit/score/cpu/x86_64/cpu.c
@@ -39,7 +39,6 @@
 
 #include <rtems/score/idt.h>
 #include <rtems/score/isr.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/score/tls.h>
 
 void _CPU_Exception_frame_print(const CPU_Exception_frame *ctx)
diff --git a/cpukit/score/src/coremsgflushwait.c b/cpukit/score/src/coremsgflushwait.c
index c343147895..332cd4c5d5 100644
--- a/cpukit/score/src/coremsgflushwait.c
+++ b/cpukit/score/src/coremsgflushwait.c
@@ -24,7 +24,6 @@
 #include <rtems/score/isr.h>
 #include <rtems/score/coremsgimpl.h>
 #include <rtems/score/thread.h>
-#include <rtems/score/wkspace.h>
 
 #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
 
diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c
index 90f5a5c327..03910c6087 100644
--- a/cpukit/score/src/coremsgsubmit.c
+++ b/cpukit/score/src/coremsgsubmit.c
@@ -25,7 +25,6 @@
 #include <rtems/score/isr.h>
 #include <rtems/score/threadimpl.h>
 #include <rtems/score/statesimpl.h>
-#include <rtems/score/wkspace.h>
 
 Status_Control _CORE_message_queue_Submit(
   CORE_message_queue_Control       *the_message_queue,
diff --git a/cpukit/score/src/objectinitializeinformation.c b/cpukit/score/src/objectinitializeinformation.c
index d9e200bfde..6b15c2878e 100644
--- a/cpukit/score/src/objectinitializeinformation.c
+++ b/cpukit/score/src/objectinitializeinformation.c
@@ -25,7 +25,6 @@
 #include <rtems/score/chainimpl.h>
 #include <rtems/score/interr.h>
 #include <rtems/score/sysstate.h>
-#include <rtems/score/wkspace.h>
 
 void _Objects_Initialize_information(
   Objects_Information *information
diff --git a/cpukit/score/src/schedulercbscleanup.c b/cpukit/score/src/schedulercbscleanup.c
index aeedd02395..98218db81f 100644
--- a/cpukit/score/src/schedulercbscleanup.c
+++ b/cpukit/score/src/schedulercbscleanup.c
@@ -21,7 +21,6 @@
 #endif
 
 #include <rtems/score/schedulercbs.h>
-#include <rtems/score/wkspace.h>
 
 int _Scheduler_CBS_Cleanup (void)
 {
diff --git a/cpukit/score/src/schedulercbsdestroyserver.c b/cpukit/score/src/schedulercbsdestroyserver.c
index d536e711d8..e03294dcd3 100644
--- a/cpukit/score/src/schedulercbsdestroyserver.c
+++ b/cpukit/score/src/schedulercbsdestroyserver.c
@@ -21,7 +21,6 @@
 #endif
 
 #include <rtems/score/schedulercbs.h>
-#include <rtems/score/wkspace.h>
 
 int _Scheduler_CBS_Destroy_server (
   Scheduler_CBS_Server_id server_id
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c
index bae2902bda..2fd125dd76 100644
--- a/cpukit/score/src/threaddispatch.c
+++ b/cpukit/score/src/threaddispatch.c
@@ -31,7 +31,6 @@
 #include <rtems/score/threadimpl.h>
 #include <rtems/score/todimpl.h>
 #include <rtems/score/userextimpl.h>
-#include <rtems/score/wkspace.h>
 #include <rtems/config.h>
 
 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index e56eaa9fc8..3c0190164e 100644
--- a/cpukit/score/src/threadrestart.c
+++ b/cpukit/score/src/threadrestart.c
@@ -36,7 +36,6 @@
 #include <rtems/score/threadqimpl.h>
 #include <rtems/score/userextimpl.h>
 #include <rtems/score/watchdogimpl.h>
-#include <rtems/score/wkspace.h>
 
 #define THREAD_JOIN_TQ_OPERATIONS &_Thread_queue_Operations_priority
 
-- 
2.26.2



More information about the devel mailing list