From patchwork Thu Jul 21 14:14:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 72570 Delivered-To: patches@linaro.org Received: by 10.140.29.52 with SMTP id a49csp466573qga; Thu, 21 Jul 2016 07:14:33 -0700 (PDT) X-Received: by 10.28.35.86 with SMTP id j83mr17073101wmj.18.1469110471741; Thu, 21 Jul 2016 07:14:31 -0700 (PDT) Return-Path: Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by mx.google.com with ESMTPS id h195si3742319wmg.66.2016.07.21.07.14.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 07:14:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) client-ip=2001:8b0:1d0::2; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from pm215 by orth.archaic.org.uk with local (Exim 4.84_2) (envelope-from ) id 1bQEkA-0003yp-6u; Thu, 21 Jul 2016 15:14:30 +0100 From: Peter Maydell To: ltp@lists.linux.it Cc: patches@linaro.org Subject: [PATCH] kernel/include/aarch64.in: Fix incorrect numbers for kcmp and getrandom Date: Thu, 21 Jul 2016 15:14:29 +0100 Message-Id: <1469110469-19351-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.9.1 The syscall numbers listed for kcmp and getrandom for aarch64 seem to have been incorrectly copied from 32-bit ARM. 64-bit ARM uses the generic syscall numbers, which are 272 and 278. Signed-off-by: Peter Maydell --- Without this patch the getrandom testcases will TCONF rather than passing. testcases/kernel/include/aarch64.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 diff --git a/testcases/kernel/include/aarch64.in b/testcases/kernel/include/aarch64.in index 28b741d..cb3fe06 100644 --- a/testcases/kernel/include/aarch64.in +++ b/testcases/kernel/include/aarch64.in @@ -253,5 +253,5 @@ clock_adjtime 266 syncfs 267 setns 268 sendmmsg 269 -kcmp 378 -getrandom 384 +kcmp 272 +getrandom 278