2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>

PR 1294/bsps
	* startup/spurious.c: Correct prototype and usage of
	sparc_disable_interrupts.
This commit is contained in:
Joel Sherrill
2008-08-04 20:37:04 +00:00
parent 9d976eb5b7
commit 2bc42d1da6
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
* startup/spurious.c: Correct prototype and usage of
sparc_disable_interrupts.
2007-03-28 Joel Sherrill <joel@OARcorp.com>
PR 1233/bsps

View File

@@ -161,11 +161,11 @@ rtems_isr bsp_spurious_handler(
void bsp_spurious_initialize()
{
uint32_t trap;
uint32_t trap;
uint32_t level = 15;
uint32_t mask;
sparc_disable_interrupts(level);
level = sparc_disable_interrupts();
mask = ERC32_MEC.Interrupt_Mask;
for ( trap=0 ; trap<256 ; trap++ ) {