Re-add tmp.

This commit is contained in:
Ralf Corsepius
2009-10-30 12:33:11 +00:00
parent 275999f515
commit 9c8527b96f

View File

@@ -57,12 +57,12 @@ void bsp_predriver_hook(void)
if ( i > 0 ){
/* Found APB IRQ_MP Interrupt Controller */
LEON3_IrqCtrl_Regs = (volatile LEON3_IrqCtrl_Regs_Map *) dev.start;
#if defined(RTEMS_MULTIPROCESSING)
#if defined(RTEMS_MULTIPROCESSING)
if (rtems_configuration_get_user_multiprocessing_table() != NULL) {
tmp = getasr17();
unsigned int tmp = getasr17();
LEON3_Cpu_Index = (tmp >> 28) & 3;
}
#endif
#endif
}
/* find GP Timer */