changeset 1157:aacbd943879a

* src/vectors.S (cyg_hal_default_interrupt_vsr): Removed ifdef on CYGFUN_HAL_COMMON_KERNEL_SUPPORT around call to interrupt_end().
author nickg
date Wed, 06 Aug 2003 17:31:26 +0000
parents 5e5f0454a851
children 10a36d0fd6f3
files packages/hal/powerpc/arch/current/ChangeLog packages/hal/powerpc/arch/current/src/vectors.S
diffstat 2 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/powerpc/arch/current/ChangeLog
+++ b/packages/hal/powerpc/arch/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-06  Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be>
+
+	* src/vectors.S (cyg_hal_default_interrupt_vsr): Removed ifdef on
+	CYGFUN_HAL_COMMON_KERNEL_SUPPORT around call to	interrupt_end().
+
 2003-04-10  Nick Garnett  <nickg@balti.calivar.com>
 
 	* src/powerpc.ld: 
--- a/packages/hal/powerpc/arch/current/src/vectors.S
+++ b/packages/hal/powerpc/arch/current/src/vectors.S
@@ -778,12 +778,7 @@ 2:      stwu    r14,-4(sp)              
                                                 # where C code can save LR
 #endif  
 
-#ifdef CYGFUN_HAL_COMMON_KERNEL_SUPPORT
-
-        # We only need to call _interrupt_end() when there is a kernel
-        # present to do any tidying up.
-        
-        # on return r3 bit 1 will indicate whether a DSR is
+        # On return r3 bit 1 will indicate whether a DSR is
         # to be posted. Pass this together with a pointer to
         # the interrupt object we have just used to the
         # interrupt tidy up routine.
@@ -798,7 +793,6 @@ 2:      stwu    r14,-4(sp)              
 
         .extern interrupt_end
         bl      interrupt_end                   # call into C to finish off 
-#endif
 
 restore_state:  
         # All done, restore CPU state and continue