mpfs/mpfs_entrypoints.c: Change atomic_load > atomic_read
Otherwise we get an undefined symbol error when LIBC_ARCH_ATOMIC is defined. Signed-off-by: Ville Juven <ville.juven@unikie.com>
This commit is contained in:
parent
90e9b2426d
commit
cc64c026d9
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ bool mpfs_get_use_sbi(uint64_t hartid)
|
|||
|
||||
int mpfs_cpus_booted(void)
|
||||
{
|
||||
return atomic_load(&g_cpus_booted);
|
||||
return atomic_read(&g_cpus_booted);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_MPFS_BOOTLOADER */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue