diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-30 18:52:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-30 18:52:14 +0000 |
commit | f2edf67da77a3c4e60c2a9df8d2c411a42bcd3a9 (patch) | |
tree | ce2f59c39620dd4345f872417e62109a5585114c /cpukit/score/cpu/nios2 | |
parent | 2010-07-30 Gedare Bloom <giddyup44@yahoo.com> (diff) | |
download | rtems-f2edf67da77a3c4e60c2a9df8d2c411a42bcd3a9.tar.bz2 |
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
* irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
to more properly reflect the intent.
Diffstat (limited to 'cpukit/score/cpu/nios2')
-rw-r--r-- | cpukit/score/cpu/nios2/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/irq.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/cpu/nios2/ChangeLog b/cpukit/score/cpu/nios2/ChangeLog index 258e9ece4b..3b2f03c622 100644 --- a/cpukit/score/cpu/nios2/ChangeLog +++ b/cpukit/score/cpu/nios2/ChangeLog @@ -1,3 +1,9 @@ +2010-07-30 Gedare Bloom <giddyup44@yahoo.com> + + PR 1599/cpukit + * irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary + to more properly reflect the intent. + 2010-07-29 Gedare Bloom <giddyup44@yahoo.com> PR 1635/cpukit diff --git a/cpukit/score/cpu/nios2/irq.c b/cpukit/score/cpu/nios2/irq.c index a083cc7cae..d37b107a1e 100644 --- a/cpukit/score/cpu/nios2/irq.c +++ b/cpukit/score/cpu/nios2/irq.c @@ -71,7 +71,7 @@ void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr) if( _Thread_Dispatch_disable_level == 0 ) { - if ( _Context_Switch_necessary ) { + if ( _Thread_Dispatch_necessary ) { _CPU_ISR_Enable( level ); _Thread_Dispatch(); /* may have switched to another task and not return here immed. */ |