[PATCH 1/3] powerpc: Delete _CPU_Install_interrupt_stack()

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 13 16:55:36 UTC 2012


This function is only used if CPU_HAS_HARDWARE_INTERRUPT_STACK == TRUE.
---
 c/src/lib/libcpu/powerpc/new-exceptions/cpu.c |    9 ---------
 cpukit/score/cpu/powerpc/rtems/score/cpu.h    |   11 -----------
 2 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
index 5c0f8d1..cb944ba 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
@@ -133,15 +133,6 @@ void _CPU_Context_Initialize(
 #endif
 }
 
-/*PAGE
- *
- *  _CPU_Install_interrupt_stack
- */
-
-void _CPU_Install_interrupt_stack( void )
-{
-}
-
 /*  _CPU_ISR_install_vector
  *
  *  This kernel routine installs the RTEMS handler for the
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index a38f9a4..31b4e7c 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -947,17 +947,6 @@ void _CPU_ISR_install_vector(
 );
 
 /*
- *  _CPU_Install_interrupt_stack
- *
- *  This routine installs the hardware interrupt stack pointer.
- *
- *  NOTE:  It need only be provided if CPU_HAS_HARDWARE_INTERRUPT_STACK
- *         is TRUE.
- */
-
-void _CPU_Install_interrupt_stack( void );
-
-/*
  *  _CPU_Context_switch
  *
  *  This routine switches from the run context to the heir context.
-- 
1.7.7




More information about the devel mailing list