mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
Make sure the cache is enabled on all CPU cores, not just the BSP.
This commit is contained in:
parent
06d670e9a8
commit
631cd553aa
@ -176,8 +176,6 @@ static void global_init(void)
|
||||
|
||||
floppy_off();
|
||||
|
||||
cache_on();
|
||||
|
||||
cpuid_init();
|
||||
|
||||
screen_init();
|
||||
@ -461,6 +459,7 @@ void main(void)
|
||||
my_cpu = smp_my_cpu_num();
|
||||
}
|
||||
if (init_state < 2) {
|
||||
cache_on();
|
||||
if (my_cpu == 0) {
|
||||
global_init();
|
||||
init_state = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user