Bug fix from Wayne Bullaughey <wayneb@cacdsp.com> to use the complement

of the mask when disabling the interrupt.
This commit is contained in:
Joel Sherrill
2000-01-11 14:57:41 +00:00
parent 0f59d63f27
commit 86c9eb0e28
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}

View File

@@ -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);
}
}