]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
checkpatch.pl: add missing memory barriers
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Jan 2016 07:39:01 +0000 (09:39 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Jan 2016 18:47:07 +0000 (20:47 +0200)
commit402c2553a24729688ba32453a9f6889e12754147
tree7d2a8a6d11480670b2d469c4162f2c0427abe0f1
parentf7ad26ff952b3ca2702d7da03aad0ab1f6c01d7c
checkpatch.pl: add missing memory barriers

SMP-only barriers were missing in checkpatch.pl

Refactor code slightly to make adding more variants easier.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Julian Calaby <julian.calaby@gmail.com>
Acked-by: Joe Perches <joe@perches.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
scripts/checkpatch.pl