[PATCH 10/23] bsp/mvme167: Remove unused parameter

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 6 12:56:32 UTC 2012


---
 c/src/lib/libbsp/m68k/mvme167/include/page_table.h |    2 +-
 c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c   |    3 +--
 c/src/lib/libbsp/m68k/mvme167/startup/page_table.c |    7 +------
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/mvme167/include/page_table.h b/c/src/lib/libbsp/m68k/mvme167/include/page_table.h
index ec5d638..de49abe 100644
--- a/c/src/lib/libbsp/m68k/mvme167/include/page_table.h
+++ b/c/src/lib/libbsp/m68k/mvme167/include/page_table.h
@@ -23,7 +23,7 @@
 #include <rtems.h>
 
 void page_table_teardown( void );
-void page_table_init( rtems_configuration_table *config_table );
+void page_table_init( void );
 
 enum {
   CACHE_WRITE_THROUGH,
diff --git a/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c
index 3359400..1609288 100644
--- a/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c
@@ -90,9 +90,8 @@ void bsp_start( void )
 
   /*
    *  Initialize address translation
-   *  May need to pass the multiprocessor configuration table.
    */
-  page_table_init( &Configuration );
+  page_table_init();
 
   /*
    *  If the application has not overriden the default User_extension_table,
diff --git a/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c b/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c
index 7197c39..da50e51 100644
--- a/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c
+++ b/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c
@@ -58,16 +58,11 @@
  *  is mapped to the physical address range 0xFF000000--0xFFFFFFFF as
  *  caching disabled, serialized access.
  *
- *  Input parameters:
- *    config_table - ignored for now
- *
  *  Output parameters: NONE
  *
  *  Return values: NONE
  */
-void page_table_init(
-  rtems_configuration_table *config_table
-)
+void page_table_init( void )
 {
   unsigned char j1;               /* State of J1 jumpers */
   register unsigned long dtt0;    /* Content of dtt0 */
-- 
1.7.7




More information about the devel mailing list