diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-05-21 16:33:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-05-21 16:33:00 +0000 |
commit | 6a046fe0ce33fee68994842c22823003619f49a1 (patch) | |
tree | ec3373d9a85693d847588863875f5c5d3e9e61cc /c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c | |
parent | Merge sparc64-rtems. (diff) | |
download | rtems-6a046fe0ce33fee68994842c22823003619f49a1.tar.bz2 |
2010-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Spacing.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c b/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c index 210e4ee1f4..5a66d18e69 100644 --- a/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c +++ b/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c @@ -17,7 +17,7 @@ #include <rtems/score/thread.h> #include <rtems/score/sh.h> -#if( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE) +#if (CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE) unsigned long *_old_stack_ptr; #endif @@ -35,8 +35,8 @@ void __ISR_Handler( uint32_t vector) _Thread_Dispatch_disable_level++; -#if( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE) - if( _ISR_Nest_level == 0 ) +#if (CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE) + if ( _ISR_Nest_level == 0 ) { /* Install irq stack */ _old_stack_ptr = stack_ptr; @@ -50,7 +50,7 @@ void __ISR_Handler( uint32_t vector) _ISR_Enable( level ); /* call isp */ - if( _ISR_Vector_table[ vector]) + if ( _ISR_Vector_table[ vector]) (*_ISR_Vector_table[ vector ])( vector ); _ISR_Disable( level ); @@ -59,9 +59,9 @@ void __ISR_Handler( uint32_t vector) _ISR_Nest_level--; -#if( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE) +#if (CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE) - if( _ISR_Nest_level == 0 ) + if ( _ISR_Nest_level == 0 ) /* restore old stack pointer */ stack_ptr = _old_stack_ptr; #endif |