[PATCH 12/26] bsps/powerpc: Avoid use of CPU_Interrupt_frame

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 15 13:51:44 UTC 2016


This type is not relevant for the code since only a pointer is passed
around.

Update #2809.
---
 c/src/lib/libcpu/powerpc/ppc403/irq/ictrl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/c/src/lib/libcpu/powerpc/ppc403/irq/ictrl.c b/c/src/lib/libcpu/powerpc/ppc403/irq/ictrl.c
index eacfbb8..7836191 100644
--- a/c/src/lib/libcpu/powerpc/ppc403/irq/ictrl.c
+++ b/c/src/lib/libcpu/powerpc/ppc403/irq/ictrl.c
@@ -158,10 +158,10 @@ disable_ext_irq( uint32_t   mask)
  */
 void
 ictrl_spurious_handler(uint32_t   spurious_mask,
-		       CPU_Interrupt_frame *cpu_frame)
+		       void *cpu_frame)
 {
   int v;
-  extern void (*bsp_spurious_handler)(uint32_t   vector, CPU_Interrupt_frame *);
+  extern void (*bsp_spurious_handler)(uint32_t vector, void *);
 
   for (v=0; v < PPC_IRQ_EXT_MAX; v++) {
     if (VEC_TO_EXMSK(v) & spurious_mask) {
@@ -184,7 +184,7 @@ ictrl_spurious_handler(uint32_t   spurious_mask,
  */
 
 void
-ictrl_isr(rtems_vector_number vector,CPU_Interrupt_frame *cpu_frame)
+ictrl_isr(rtems_vector_number vector, void *cpu_frame)
 {
   uint32_t          istat,
                     mask,
-- 
1.8.4.5




More information about the devel mailing list