mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 16:50:25 -04:00
cache: counter_u64_add_protected -> counter_u64_add
Fixes booting on RISC-V where it does happen to not be equivalent. Reported by: lwhsu
This commit is contained in:
parent
b46595affc
commit
059cb4843b
1 changed files with 2 additions and 2 deletions
|
|
@ -412,14 +412,14 @@ static void
|
|||
cache_numcachehv_inc(void)
|
||||
{
|
||||
|
||||
counter_u64_add_protected(numcachehv, 1);
|
||||
counter_u64_add(numcachehv, 1);
|
||||
}
|
||||
|
||||
static void
|
||||
cache_numcachehv_dec(void)
|
||||
{
|
||||
|
||||
counter_u64_add_protected(numcachehv, -1);
|
||||
counter_u64_add(numcachehv, -1);
|
||||
}
|
||||
#else
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue