From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756876Ab3BKM0Q (ORCPT ); Mon, 11 Feb 2013 07:26:16 -0500 Received: from terminus.zytor.com ([198.137.202.10]:60042 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756713Ab3BKM0O (ORCPT ); Mon, 11 Feb 2013 07:26:14 -0500 Date: Mon, 11 Feb 2013 04:25:54 -0800 From: tip-bot for Sasha Levin Message-ID: Cc: linux-kernel@vger.kernel.org, sasha.levin@oracle.com, hpa@zytor.com, mingo@kernel.org, a.p.zijlstra@chello.nl, torvalds@linux-foundation.org, akpm@linux-foundation.org, tglx@linutronix.de Reply-To: mingo@kernel.org, hpa@zytor.com, sasha.levin@oracle.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, torvalds@linux-foundation.org, a.p.zijlstra@chello.nl, tglx@linutronix.de In-Reply-To: <1360456781-32462-5-git-send-email-sasha.levin@oracle.com> References: <1360456781-32462-5-git-send-email-sasha.levin@oracle.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/locking] liblockdep: Correct the ABCDBCDA test Git-Commit-ID: 23e9e95acb727267e171a34e2bb65dbe0b188ee1 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (terminus.zytor.com [127.0.0.1]); Mon, 11 Feb 2013 04:26:00 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 23e9e95acb727267e171a34e2bb65dbe0b188ee1 Gitweb: http://git.kernel.org/tip/23e9e95acb727267e171a34e2bb65dbe0b188ee1 Author: Sasha Levin AuthorDate: Sat, 9 Feb 2013 19:39:35 -0500 Committer: Ingo Molnar CommitDate: Mon, 11 Feb 2013 10:12:38 +0100 liblockdep: Correct the ABCDBCDA test There's no need to use liblockdep specific calls, they are wrapped for us. Signed-off-by: Sasha Levin Cc: jamie.iles@oracle.com Cc: penberg@kernel.org Cc: acme@ghostprotocols.net Cc: paulus@samba.org Cc: namhyung@kernel.org Cc: peterz@infradead.org Cc: Linus Torvalds Cc: Andrew Morton Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1360456781-32462-5-git-send-email-sasha.levin@oracle.com Signed-off-by: Ingo Molnar --- tools/lib/lockdep/tests/ABCDBCDA.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/lib/lockdep/tests/ABCDBCDA.c b/tools/lib/lockdep/tests/ABCDBCDA.c index aadf11e..427ba56 100644 --- a/tools/lib/lockdep/tests/ABCDBCDA.c +++ b/tools/lib/lockdep/tests/ABCDBCDA.c @@ -3,12 +3,12 @@ void main(void) { - liblockdep_pthread_mutex_t a, b, c, d; + pthread_mutex_t a, b, c, d; - liblockdep_pthread_mutex_init(&a, NULL); - liblockdep_pthread_mutex_init(&b, NULL); - liblockdep_pthread_mutex_init(&c, NULL); - liblockdep_pthread_mutex_init(&d, NULL); + pthread_mutex_init(&a, NULL); + pthread_mutex_init(&b, NULL); + pthread_mutex_init(&c, NULL); + pthread_mutex_init(&d, NULL); LOCK_UNLOCK_2(a, b); LOCK_UNLOCK_2(c, d);