[rtems commit] bsps: Remove superfluous bsp_processor_count

Sebastian Huber sebh at rtems.org
Tue Jun 19 13:27:02 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jun 19 15:20:52 2018 +0200

bsps: Remove superfluous bsp_processor_count

This is unused copy and paste stuff.

Update #3459.

---

 bsps/epiphany/epiphany_sim/start/linkcmds  | 2 --
 bsps/epiphany/include/bsp/linker-symbols.h | 2 --
 bsps/or1k/shared/start/linkcmds.base       | 2 --
 bsps/riscv/include/bsp/linker-symbols.h    | 2 --
 bsps/riscv/riscv_generic/start/linkcmds    | 2 --
 5 files changed, 10 deletions(-)

diff --git a/bsps/epiphany/epiphany_sim/start/linkcmds b/bsps/epiphany/epiphany_sim/start/linkcmds
index 07a4c29..e0e216f 100644
--- a/bsps/epiphany/epiphany_sim/start/linkcmds
+++ b/bsps/epiphany/epiphany_sim/start/linkcmds
@@ -78,8 +78,6 @@ bsp_stack_align = DEFINED (bsp_stack_align) ? bsp_stack_align : 8;
 bsp_stack_main_size = DEFINED (bsp_stack_main_size) ? bsp_stack_main_size : 1024;
 bsp_stack_main_size = ALIGN (bsp_stack_main_size, bsp_stack_align);
 
-_bsp_processor_count = DEFINED (_bsp_processor_count) ? _bsp_processor_count : 1;
-
 SECTIONS {
 
   .vector :
diff --git a/bsps/epiphany/include/bsp/linker-symbols.h b/bsps/epiphany/include/bsp/linker-symbols.h
index c218b7f..50c5c38 100644
--- a/bsps/epiphany/include/bsp/linker-symbols.h
+++ b/bsps/epiphany/include/bsp/linker-symbols.h
@@ -70,8 +70,6 @@ LINKER_SYMBOL(bsp_start_vector_table_size)
 LINKER_SYMBOL(bsp_translation_table_base)
 LINKER_SYMBOL(bsp_translation_table_end)
 
-LINKER_SYMBOL(_bsp_processor_count)
-
 /** @} */
 
 #ifdef __cplusplus
diff --git a/bsps/or1k/shared/start/linkcmds.base b/bsps/or1k/shared/start/linkcmds.base
index 442042a..4514596 100644
--- a/bsps/or1k/shared/start/linkcmds.base
+++ b/bsps/or1k/shared/start/linkcmds.base
@@ -37,8 +37,6 @@ bsp_stack_align = DEFINED (bsp_stack_align) ? bsp_stack_align : 8;
 bsp_stack_main_size = DEFINED (bsp_stack_main_size) ? bsp_stack_main_size : 0;
 bsp_stack_main_size = ALIGN (bsp_stack_main_size, bsp_stack_align);
 
-bsp_processor_count = DEFINED (bsp_processor_count) ? bsp_processor_count : 1;
-
 SECTIONS {
 
   .vector : ALIGN_WITH_INPUT {
diff --git a/bsps/riscv/include/bsp/linker-symbols.h b/bsps/riscv/include/bsp/linker-symbols.h
index a4b03f5..34bf487 100644
--- a/bsps/riscv/include/bsp/linker-symbols.h
+++ b/bsps/riscv/include/bsp/linker-symbols.h
@@ -70,8 +70,6 @@ LINKER_SYMBOL(bsp_start_vector_table_size)
 LINKER_SYMBOL(bsp_translation_table_base)
 LINKER_SYMBOL(bsp_translation_table_end)
 
-LINKER_SYMBOL(_bsp_processor_count)
-
 /** @} */
 
 #ifdef __cplusplus
diff --git a/bsps/riscv/riscv_generic/start/linkcmds b/bsps/riscv/riscv_generic/start/linkcmds
index fad1d1e..737ae75 100644
--- a/bsps/riscv/riscv_generic/start/linkcmds
+++ b/bsps/riscv/riscv_generic/start/linkcmds
@@ -73,8 +73,6 @@ bsp_stack_align = DEFINED (bsp_stack_align) ? bsp_stack_align : 16;
 bsp_stack_main_size = DEFINED (bsp_stack_main_size) ? bsp_stack_main_size : 4096;
 bsp_stack_main_size = ALIGN (bsp_stack_main_size, bsp_stack_align);
 
-_bsp_processor_count = DEFINED (_bsp_processor_count) ? _bsp_processor_count : 1;
-
 SECTIONS {
 
   .vector :




More information about the vc mailing list