From patchwork Tue Sep 30 21:15:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary.robertson@linaro.org X-Patchwork-Id: 38180 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 23BBB20549 for ; Tue, 30 Sep 2014 21:22:20 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id c13sf1184845eek.1 for ; Tue, 30 Sep 2014 14:22:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=eMrk+iJzkQWrvtNSRy08/0NwLAG2TQhbSCJvBGXR9cc=; b=A/+xkEPYmeuFDKP3HCEFwiV/Kh5JUam1LleX3tnDO9d290ZwIdnosuFafgM5UAEOKX qS17h2WF2wivmHgTVSSSek3DM+kLTdaPhr4/5CFF1FvfzoR9NFWgcIykUs2CmJMZFlUB IPon64B1LDFWpVlnf4BkAwcipNIeD8YoNoHK085lnKy5cxx4/67tb6sxnw964UxQGmy7 UKeYITEZhJi82K8e7cLLa6SExkgWC8gm7EDcTwG2hhF1swXrO2qwSRocrPtkYnkS8tbS 08tZwV1j2MRg6O3xWKH8kyaHaAiTAjFMarLbNnTWhLg50AvwdGCApDtX1WrSk8UzrQwx T8hQ== X-Gm-Message-State: ALoCoQkFNUwZPHmJ+Itw6SPzT43bh8OmAqFvjmyla5N3mV5/kf8XkNRz9u6VU3gdEAyqJWzuay7J X-Received: by 10.152.23.166 with SMTP id n6mr17413laf.9.1412112139267; Tue, 30 Sep 2014 14:22:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.132 with SMTP id c4ls89575lac.88.gmail; Tue, 30 Sep 2014 14:22:19 -0700 (PDT) X-Received: by 10.112.146.103 with SMTP id tb7mr47983101lbb.26.1412112139109; Tue, 30 Sep 2014 14:22:19 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx.google.com with ESMTPS id xd4si16585923lbb.65.2014.09.30.14.22.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 14:22:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id ge10so6399615lab.22 for ; Tue, 30 Sep 2014 14:22:19 -0700 (PDT) X-Received: by 10.152.22.137 with SMTP id d9mr50832893laf.29.1412112138988; Tue, 30 Sep 2014 14:22:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.130.169 with SMTP id of9csp425397lbb; Tue, 30 Sep 2014 14:22:18 -0700 (PDT) X-Received: by 10.50.72.73 with SMTP id b9mr32105610igv.0.1412112136982; Tue, 30 Sep 2014 14:22:16 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id f20si833757icc.83.2014.09.30.14.22.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 30 Sep 2014 14:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of ltp-list-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XZ4s5-0003ik-Gu; Tue, 30 Sep 2014 21:22:09 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XZ4s3-0003id-7M for ltp-list@lists.sourceforge.net; Tue, 30 Sep 2014 21:22:07 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.218.52 as permitted sender) client-ip=209.85.218.52; envelope-from=gary.robertson@linaro.org; helo=mail-oi0-f52.google.com; Received: from mail-oi0-f52.google.com ([209.85.218.52]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1XZ4s2-0006Kk-6i for ltp-list@lists.sourceforge.net; Tue, 30 Sep 2014 21:22:07 +0000 Received: by mail-oi0-f52.google.com with SMTP id a3so2809155oib.25 for ; Tue, 30 Sep 2014 14:22:00 -0700 (PDT) X-Received: by 10.182.22.82 with SMTP id b18mr38858218obf.32.1412111778431; Tue, 30 Sep 2014 14:16:18 -0700 (PDT) Received: from honkintosh.cybertech.lan (65-120-133-114.dia.static.qwest.net. [65.120.133.114]) by mx.google.com with ESMTPSA id i1sm9930012oew.6.2014.09.30.14.16.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 14:16:17 -0700 (PDT) From: "Gary S. Robertson" To: ltp-list@lists.sourceforge.net Date: Tue, 30 Sep 2014 16:15:59 -0500 Message-Id: <1412111759-22198-1-git-send-email-gary.robertson@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XZ4s2-0006Kk-6i Cc: mike.holmes@linaro.org Subject: [LTP] [PATCH] Realtime tests: Fix bad priority inheritance conditionals X-BeenThere: ltp-list@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-list-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: gary.robertson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: "Gary S. Robertson" testcases/realtime/lib/librttest.c and testcases/realtime/stress/pi-tests/testpi-3.c both referenced a non-existent autoconf configuration setting variable. Replaced the invalid variable name with the variable actually created by autoconf. Signed-off-by: Gary S. Robertson --- testcases/realtime/lib/librttest.c | 2 +- testcases/realtime/stress/pi-tests/testpi-3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/realtime/lib/librttest.c b/testcases/realtime/lib/librttest.c index c175148..3679058 100644 --- a/testcases/realtime/lib/librttest.c +++ b/testcases/realtime/lib/librttest.c @@ -586,7 +586,7 @@ void *busy_work_us(int us) void init_pi_mutex(pthread_mutex_t * m) { -#if HAVE_DECL_PTHREAD_PRIO_INHERIT +#if HAS_PRIORITY_INHERIT pthread_mutexattr_t attr; int ret; int protocol; diff --git a/testcases/realtime/stress/pi-tests/testpi-3.c b/testcases/realtime/stress/pi-tests/testpi-3.c index 30f38f6..e483945 100644 --- a/testcases/realtime/stress/pi-tests/testpi-3.c +++ b/testcases/realtime/stress/pi-tests/testpi-3.c @@ -365,7 +365,7 @@ int main(int argc, char *argv[]) printf("Start %s\n", argv[0]); -#if HAVE_DECL_PTHREAD_PRIO_INHERIT +#if HAS_PRIORITY_INHERIT if (!nopi) { pthread_mutexattr_t mutexattr; int protocol;