forked from Imagelibrary/rtems
Bug fix from Wayne Bullaughey <wayneb@cacdsp.com> to use the complement
of the mask when disabling the interrupt.
This commit is contained in:
@@ -191,7 +191,7 @@ void Clock_exit( void )
|
||||
{
|
||||
if ( rtems_configuration_get_ticks_per_timeslice() ) {
|
||||
/* mips: turn off the timer interrupts */
|
||||
disable_int(CLOCK_VECTOR_MASK);
|
||||
disable_int(~CLOCK_VECTOR_MASK);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -191,7 +191,7 @@ void Clock_exit( void )
|
||||
{
|
||||
if ( rtems_configuration_get_ticks_per_timeslice() ) {
|
||||
/* mips: turn off the timer interrupts */
|
||||
disable_int(CLOCK_VECTOR_MASK);
|
||||
disable_int(~CLOCK_VECTOR_MASK);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user