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:36:13 +00:00
parent 97b2d15f03
commit cc34770468
2 changed files with 7 additions and 1 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.
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add capability for bootcard.c BSP

View File

@@ -145,7 +145,7 @@ void bsp_spurious_initialize()
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++ ) {