kernels/linux-2.4.0/arch/ppc/kernel/open_pic.c
/*
 * Do per-cpu setup for SMP systems.
 *
 * Get IPI's working and start taking interrupts.
 *   -- Cort
  */
Do per-cpu setup for SMP systems.
Get IPI's working and start taking interrupts.
Cort
Do per - cpu setup for SMP systems . Get IPI ' s working and start taking interrupts . Cort
void do_openpic_setup_cpu(void)
{
 	int i;
 	for ( i = 0; i < OPENPIC_NUM_IPI ; i++ )
		openpic_enable_IPI(i);
#if 0	
 	for ( i = 0; i < NumSources ; i++ )
 		openpic_mapirq(i, openpic_read(ISU[i].Destination)
 			       | (1<<smp_processor_id()) );
#endif	
 	openpic_set_priority(smp_processor_id(), 0);
}
void do_openpic_setup_cpu ( void ) { int i ; for ( i = 0 ; i < OPENPIC_NUM_IPI ; i ++ ) openpic_enable_IPI ( i ) ; #if 0 for ( i = 0 ; i < NumSources ; i ++ ) openpic_mapirq ( i , openpic_read ( ISU [ i ] . Destination ) | ( 1 << smp_processor_id ( ) ) ) ; #endif openpic_set_priority ( smp_processor_id ( ) , 0 ) ; }
Do per-cpu setup for SMP systems.
Do per - cpu setup for SMP systems .
/* let the openpic know we want intrs */