It must use the generic method too. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin.c b/builtin.c index bd12d5651f44..7ff1071d721d 100644 --- a/builtin.c +++ b/builtin.c @@ -636,7 +636,7 @@ static const struct builtin_fn builtins_common[] = { { "__sync_fetch_and_or", NULL, 1, { vol_ptr, &dyntype }, .op = &atomic_op }, { "__sync_fetch_and_sub", NULL, 1, { vol_ptr, &dyntype }, .op = &atomic_op }, { "__sync_fetch_and_xor", NULL, 1, { vol_ptr, &dyntype }, .op = &atomic_op }, - { "__sync_lock_release", &void_ctype, 1, { &ptr_ctype }}, + { "__sync_lock_release", &void_ctype, 1, { vol_ptr }, .op = &atomic_op }, { "__sync_lock_test_and_set", NULL, 1, { vol_ptr, &dyntype }, .op = &atomic_op }, { "__sync_nand_and_fetch", NULL, 1, { vol_ptr, &dyntype }, .op = &atomic_op }, { "__sync_or_and_fetch", NULL, 1, { vol_ptr, &dyntype }, .op = &atomic_op }, -- 2.28.0