From patchwork Fri May 3 13:45:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 16632 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C768325DFE for ; Fri, 3 May 2013 13:45:39 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id gf12sf2817729vcb.4 for ; Fri, 03 May 2013 06:45:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=f0RNj9E7qHQjf6g6twG8xt+ff++8/TbFh3fDDCC9QI4=; b=puYHHDqPA7anQMTYNTtwFcld6NiTzJhIc07wq4yIXa6q9FcoZahVMqxZFxl51bKXQ2 DDRMJPDopIT01FV59vytwVSrWTgvrU+F3kX8w8/slhaQ/4ZejGhiuI8NhNOUr0fyEV4x pqzF+/xvEMFQbW+PlGSPrGcHC4ECFqSA6ncrbJTsQ59NBqzvYu1T20QMPX4oTvAsTJsf 10diblICTlc67RJcd91awroFg+w/3uYsuiBz/u3qSqOsHUCtX1diNmd1wC8UxO61ndqD mjmXrd9TUvgLXIKI+LxMM9EBhXZdPhWfuyyJl8uA46ZfIW6KNvJpgdY8l/8wclpNUJXT qrXQ== X-Received: by 10.236.82.46 with SMTP id n34mr8368928yhe.24.1367588729952; Fri, 03 May 2013 06:45:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.24.6 with SMTP id q6ls1726186qef.35.gmail; Fri, 03 May 2013 06:45:29 -0700 (PDT) X-Received: by 10.220.103.209 with SMTP id l17mr3606352vco.39.1367588729709; Fri, 03 May 2013 06:45:29 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id p12si5065211vce.68.2013.05.03.06.45.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 06:45:29 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id ha12so1430733vcb.36 for ; Fri, 03 May 2013 06:45:29 -0700 (PDT) X-Received: by 10.52.228.71 with SMTP id sg7mr2966338vdc.51.1367588729615; Fri, 03 May 2013 06:45:29 -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.58.127.98 with SMTP id nf2csp23152veb; Fri, 3 May 2013 06:45:28 -0700 (PDT) X-Received: by 10.14.214.130 with SMTP id c2mr28081568eep.19.1367588726556; Fri, 03 May 2013 06:45:26 -0700 (PDT) Received: from afflict.kos.to (afflict.kos.to. [92.243.29.197]) by mx.google.com with ESMTPS id p49si1332874eeu.18.2013.05.03.06.45.25 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 03 May 2013 06:45:26 -0700 (PDT) Received-SPF: neutral (google.com: 92.243.29.197 is neither permitted nor denied by best guess record for domain of riku.voipio@linaro.org) client-ip=92.243.29.197; Received: from aimless.elisa-laajakaista.fi (a91-156-57-234.elisa-laajakaista.fi [91.156.57.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id B754326544; Fri, 3 May 2013 15:45:24 +0200 (CEST) From: riku.voipio@linaro.org To: ltp-list@lists.sourceforge.net Subject: [PATCH 3/3] set 16kb incrediment for Aarch64 Date: Fri, 3 May 2013 16:45:17 +0300 Message-Id: <1367588717-18162-4-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQnhnWwk2gnDfICZE8xMn9J9oT+eEBIuzO3wdikaWIiENFlXNUz+uHOwpfTIqM/x2bB7RpNI X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Riku Voipio Signed-off-by: Riku Voipio --- testcases/kernel/mem/shmt/shmt09.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/kernel/mem/shmt/shmt09.c b/testcases/kernel/mem/shmt/shmt09.c index 5e7e52e..8f8c3c7 100644 --- a/testcases/kernel/mem/shmt/shmt09.c +++ b/testcases/kernel/mem/shmt/shmt09.c @@ -61,7 +61,7 @@ int TST_TOTAL = 4; /* Total number of test cases. */ #define INCREMENT 8388608 /* 8Mb */ #elif defined (__mips__) || defined (__hppa__) || defined (__sparc__) #define INCREMENT 262144 /* 256Kb */ -#elif defined __sh__ || defined (__arm__) +#elif defined __sh__ || defined (__arm__) || defined(__aarch64__) #define INCREMENT 16384 /* 16kb */ #else #define INCREMENT SHMLBA @@ -162,7 +162,7 @@ int main() tst_resm(TPASS, "sbrk, shmat"); /*--------------------------------------------------------*/ -#if defined (__ia64__) || defined(__mips__) || defined(__hppa__) || defined(__arm__) +#if defined (__ia64__) || defined(__mips__) || defined(__hppa__) || defined(__arm__) || defined(__aarch64__) while ((vp = sbrk(INCREMENT)) != (void *)-1) ; if (errno != ENOMEM) { tst_resm(TFAIL, "Error: sbrk failed, errno = %d\n", errno);