summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/tests/ABCABC.c
blob: 3fee51e3a68a5bf43ff8c1813ff980b53a55771f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <liblockdep/mutex.h>
#include "common.h"

void main(void)
{
	pthread_mutex_t a, b, c;

	pthread_mutex_init(&a, NULL);
	pthread_mutex_init(&b, NULL);
	pthread_mutex_init(&c, NULL);

	LOCK_UNLOCK_2(a, b);
	LOCK_UNLOCK_2(c, a);
	LOCK_UNLOCK_2(b, c);
}
='commit-info'> authorMark Brown <broonie@kernel.org>2016-11-15 15:01:09 +0000 committerMark Brown <broonie@kernel.org>2016-11-15 15:22:10 +0000 commit53a20465e6b674eb6ce594b0e9e8940495e95f33 (patch) tree4d4c29c7c68ab2a1b69e4bd3903949356d2467e8 /sound/isa/opti9xx/opti92x-cs4231.c parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: pwm: Add missing quotes to DT example
Reported-by: Peter Rosin <peda@axentia.se> Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'sound/isa/opti9xx/opti92x-cs4231.c')