diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 25476c29bb18e9db18defbc3a4e8ed3825952357..c7bf1aa2eeb3cb046b75100d68b23947562b409c 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5133,7 +5133,8 @@ sub process { }x; my $all_barriers = qr{ (?:$barriers)| - smp_(?:$barrier_stems) + smp_(?:$barrier_stems)| + virt_(?:$barrier_stems) }x; if ($line =~ /\b(?:$all_barriers)\s*\(/) {