[rtems-schedsim commit] schedsim_smpsimple: Fix output of cpu dump.

Jennifer Averett jennifer at rtems.org
Fri May 9 13:30:04 UTC 2014


Module:    rtems-schedsim
Branch:    master
Commit:    49fbe09ed23768a5869c48223991774362ed328b
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=49fbe09ed23768a5869c48223991774362ed328b

Author:    Jennifer Averett <jennifer.averett at oarcorp.com>
Date:      Thu May  8 10:17:03 2014 -0500

schedsim_smpsimple: Fix output of cpu dump.

---

 .../shell/schedsim_smpsimple/main_dump_all_cpus.c  |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c b/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
index faa4de7..6301ec3 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
@@ -18,7 +18,6 @@
 
 // #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
 #include <rtems.h>
-#include <rtems/bspsmp.h>
 #include <rtems/score/percpu.h>
 #include <rtems/score/smp.h>
 #include <rtems/score/schedulerpriority.h>
@@ -32,8 +31,7 @@ int main_dump_all_cpus(int argc, char **argv)
 
   printf(
     "=== CPU Status\n"
-    "            EXECUTING    /     HEIR         /    IDLE        / "
-      " SWITCH NEEDED\n"
+    "          EXECUTING      /   HEIR             / SWITCH NEEDED\n"
   );
   for ( cpu=0 ; cpu < _SMP_Processor_count ; cpu++ ) {
     e = _Per_CPU_Information[cpu].per_cpu.executing;




More information about the vc mailing list