sparc32,leon: operate on boot-cpu IRQ controller registers
* proper initialization of boot_cpu_id (no hardcoding to 0) * use boot_cpu_id index to address into the IRQ controller where appropriate Each CPU has a separate set of IRQ controller registers, this patch makes sure that the boot-cpu registers are used instead of CPU0's. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5fcafb7a23
commit
01dae0f08d
3 changed files with 24 additions and 28 deletions
|
@ -50,7 +50,6 @@
|
|||
extern ctxd_t *srmmu_ctx_table_phys;
|
||||
static int smp_processors_ready;
|
||||
extern volatile unsigned long cpu_callin_map[NR_CPUS];
|
||||
extern unsigned char boot_cpu_id;
|
||||
extern cpumask_t smp_commenced_mask;
|
||||
void __init leon_configure_cache_smp(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue