mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-20 11:38:25 -06:00
Remove redundant start_mutex.
The mutex is now implemented in the assembly language boot code.
This commit is contained in:
parent
9769990679
commit
503aea321d
@ -68,7 +68,6 @@ static uintptr_t low_load_addr;
|
|||||||
static uintptr_t high_load_addr;
|
static uintptr_t high_load_addr;
|
||||||
|
|
||||||
static barrier_t *start_barrier = NULL;
|
static barrier_t *start_barrier = NULL;
|
||||||
static spinlock_t *start_mutex = NULL;
|
|
||||||
|
|
||||||
static volatile bool start_run = false;
|
static volatile bool start_run = false;
|
||||||
static volatile bool start_pass = false;
|
static volatile bool start_pass = false;
|
||||||
@ -246,7 +245,6 @@ static void global_init(void)
|
|||||||
start_barrier = smp_alloc_barrier(1);
|
start_barrier = smp_alloc_barrier(1);
|
||||||
run_barrier = smp_alloc_barrier(1);
|
run_barrier = smp_alloc_barrier(1);
|
||||||
|
|
||||||
start_mutex = smp_alloc_mutex();
|
|
||||||
error_mutex = smp_alloc_mutex();
|
error_mutex = smp_alloc_mutex();
|
||||||
|
|
||||||
start_run = true;
|
start_run = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user