mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
smp: Handle IRQ enable reg properly (maybe)
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
87613dc208
commit
e99138710a
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ static void smp_start_cpu(int index, int cluster, int core, u64 rvbar, u64 cpu_s
|
|||
|
||||
// Some kind of system level startup/status bit
|
||||
// Without this, IRQs don't work
|
||||
write32(cpu_start_base + 0x4, 1 << index);
|
||||
write32(cpu_start_base + 0x4, 1 << (4 * cluster + core));
|
||||
|
||||
// Actually start the core
|
||||
write32(cpu_start_base + 0x8 + 4 * cluster, 1 << core);
|
||||
|
|
Loading…
Reference in a new issue