[rtems commit] Remove superfluous <rtems/score/wkspace.h> includes

Sebastian Huber sebh at rtems.org
Tue Apr 20 17:18:32 UTC 2021


Module:    rtems
Branch:    master
Commit:    2b32146400e9d99bfc87516ab8b2d2809aff5326
Changeset: http://git.rtems.org/rtems/commit/?id=2b32146400e9d99bfc87516ab8b2d2809aff5326

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Apr 20 09:33:52 2021 +0200

Remove superfluous <rtems/score/wkspace.h> includes

---

 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 0277dd8..4a86799 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 1a400ee..2dccfd0 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 15d4c89..03a187f 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 c1a407a..2c82433 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 0036264..35077bb 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 a1af20a..de814c1 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 47848e1..9015a36 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 86a3a5e..5a52889 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 78e8703..cd2c4b0 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 2e45959..c8cf960 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 2f4e823..5522890 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 f22725c..34e1c99 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 3d9aa74..79cb768 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 d203078..a921775 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 5cc12c6..6846c43 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 c343147..332cd4c 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 90f5a5c..03910c6 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 d9e200b..6b15c28 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 aeedd02..98218db 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 d536e71..e03294d 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 bae2902..2fd125d 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 e56eaa9..3c01901 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
 



More information about the vc mailing list