From patchwork Mon May 6 13:23:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 16721 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f197.google.com (mail-gh0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9463425E05 for ; Mon, 6 May 2013 13:23:27 +0000 (UTC) Received: by mail-gh0-f197.google.com with SMTP id r20sf6028536ghr.4 for ; Mon, 06 May 2013 06:23:11 -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=STXUK6pnDWPQTTPOXWxF3KMP3xUTEmSng4bjMRe1jHWBdMGsy+Ysr2QWBYdydnSRvF AKa4eh0kYDASCIjRS24BpCOTYgb1bpNZ+2PhiBFuK/8i44RoswMQnusW8/AMUTmv5lE8 azVo13/Q3Wch4m3sLA2dR/0276kNkeeQfzqjHhrGWachE1FGz5ow4X1IZTqWEH4ebclA Kji1ckf9Yv4Y9SkzDc+GEk9wQkR5tJIJ2CgqSvscoJPSMPKHOY8/egTrOasbaia21iz7 VcmRrxcWgF4szueRgvUV/r+oQrhpE6wSF1HSeGN1UAC/lSY+bM/B+JRD/+sF+Fd1vBAc w/+w== X-Received: by 10.236.120.166 with SMTP id p26mr15466216yhh.57.1367846591029; Mon, 06 May 2013 06:23:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.130.74 with SMTP id oc10ls3016722qeb.53.gmail; Mon, 06 May 2013 06:23:10 -0700 (PDT) X-Received: by 10.220.215.73 with SMTP id hd9mr6852977vcb.19.1367846590775; Mon, 06 May 2013 06:23:10 -0700 (PDT) Received: from mail-vb0-x22b.google.com (mail-vb0-x22b.google.com [2607:f8b0:400c:c02::22b]) by mx.google.com with ESMTPS id tq4si8752566vdc.105.2013.05.06.06.23.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 May 2013 06:23:10 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22b is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22b; Received: by mail-vb0-f43.google.com with SMTP id p14so2879873vbm.16 for ; Mon, 06 May 2013 06:23:10 -0700 (PDT) X-Received: by 10.52.69.109 with SMTP id d13mr5763201vdu.75.1367846590573; Mon, 06 May 2013 06:23:10 -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 nf2csp47740veb; Mon, 6 May 2013 06:23:10 -0700 (PDT) X-Received: by 10.180.82.74 with SMTP id g10mr8816329wiy.10.1367846586616; Mon, 06 May 2013 06:23:06 -0700 (PDT) Received: from afflict.kos.to (afflict.kos.to. [92.243.29.197]) by mx.google.com with ESMTPS id en13si2438927wid.125.2013.05.06.06.23.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 May 2013 06:23:06 -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 983E126546; Mon, 6 May 2013 15:23:04 +0200 (CEST) From: riku.voipio@linaro.org To: ltp-list@lists.sourceforge.net Subject: [PATCH 4/4] set 16kb incrediment for Aarch64 Date: Mon, 6 May 2013 16:23:01 +0300 Message-Id: <1367846581-18599-5-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQnH80bGTh36jO+UzVHj3kf2DMKro7mQ2PUKLDqWgkjjrqJhmPDsJpu5VitWRoSDUrTfBDXg X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22b 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);