From patchwork Fri Oct 11 09:09:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 20954 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f70.google.com (mail-vb0-f70.google.com [209.85.212.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E15D92611D for ; Fri, 11 Oct 2013 09:09:15 +0000 (UTC) Received: by mail-vb0-f70.google.com with SMTP id h10sf6843066vbh.5 for ; Fri, 11 Oct 2013 02:09:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=HABCivXjWzN+JiDfN+PecmiPHvNKQn/q8/p9Vx8KG38=; b=DTGEV/72qcbBY3CkCp2brsTwdRajJd0d2lDBOSfUyOMV+sciUkqm8V4mK+PzPO0yTJ RsOtHQvsUoIz1/BLnz7qSAhzSpiXrwexqd5JUgCh0LiHCcbrxmYm8OIRhKj+XqLGwTwk Lr0UQsy9kSH6TMEr20YY1FAD0xlT1rBzeGWLTL64QGOsUu7OdhUD5TLhb3ZtwXMTchII NM8dkNXxmC+pnfQAn+FW6/94c5e/NoG4NBst4+5QTzG2dPyGXRTs2cFxkT2trHoRExm5 aeODFVHC9rfpi9SK6DnlVX4FomBiFGlolzLWF884skQYBB6jh15bOHoPGCAOVK+0ze+9 t9Ng== X-Received: by 10.236.85.6 with SMTP id t6mr17649515yhe.37.1381482555314; Fri, 11 Oct 2013 02:09:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.3.169 with SMTP id d9ls1350360qed.61.gmail; Fri, 11 Oct 2013 02:09:15 -0700 (PDT) X-Received: by 10.52.233.2 with SMTP id ts2mr53377vdc.44.1381482555188; Fri, 11 Oct 2013 02:09:15 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id st7si16310994vdc.94.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 02:09:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 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.181; Received: by mail-vc0-f181.google.com with SMTP id id10so2091678vcb.12 for ; Fri, 11 Oct 2013 02:09:15 -0700 (PDT) X-Gm-Message-State: ALoCoQnYPr2sBxOoBO+wsrgyKbmSp/7AcKtfo1eeGCzPuAP+ChilDynuqs+QtmjieGoea5Twc8Sx X-Received: by 10.52.157.232 with SMTP id wp8mr17146795vdb.4.1381482554845; Fri, 11 Oct 2013 02:09:14 -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.220.174.196 with SMTP id u4csp21950vcz; Fri, 11 Oct 2013 02:09:14 -0700 (PDT) X-Received: by 10.15.108.202 with SMTP id cd50mr1409441eeb.68.1381482553757; Fri, 11 Oct 2013 02:09:13 -0700 (PDT) Received: from afflict.kos.to (afflict.kos.to. [92.243.29.197]) by mx.google.com with ESMTPS id f46si40177287eeo.9.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 11 Oct 2013 02:09:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of voipio@kos.to designates 92.243.29.197 as permitted sender) client-ip=92.243.29.197; Received: from kos.to (91-157-208-114.elisa-laajakaista.fi [91.157.208.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id 0CA8326553 for ; Fri, 11 Oct 2013 11:09:11 +0200 (CEST) Received: from voipio (uid 1000) (envelope-from voipio@kos.to) id 5e001c by kos.to (DragonFly Mail Agent); Fri, 11 Oct 2013 12:09:11 +0300 From: Riku Voipio To: ltp-list@lists.sourceforge.net Cc: patches@linaro.org, Riku Voipio Subject: [PATCH] Remove bogus Aarch64 system call numbers Date: Fri, 11 Oct 2013 12:09:08 +0300 Message-Id: <1381482548-29543-1-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 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: , Aarch64 build fails with: cacheflush01.c:52:26: fatal error: asm/cachectl.h: No such file or directory #include This is caused by bogus definitions of cacheflush and set_tls, which are private 32bit ARM system calls. These should not be used on native Aarch64 binaries. If they need to be tested, it is better done using ltp compiled for 32bit ARM. Signed-off-by: Riku Voipio Acked-by: Mike Frysinger --- testcases/kernel/include/aarch64.in | 2 -- testcases/kernel/include/linux_syscall_numbers.h | 9 --------- 2 files changed, 11 deletions(-) diff --git a/testcases/kernel/include/aarch64.in b/testcases/kernel/include/aarch64.in index a845be0..ceb67c6 100644 --- a/testcases/kernel/include/aarch64.in +++ b/testcases/kernel/include/aarch64.in @@ -253,5 +253,3 @@ clock_adjtime 266 syncfs 267 setns 268 sendmmsg 269 -cacheflush 0x1002 -set_tls 0x1005 diff --git a/testcases/kernel/include/linux_syscall_numbers.h b/testcases/kernel/include/linux_syscall_numbers.h index 38931cf..03664ce 100644 --- a/testcases/kernel/include/linux_syscall_numbers.h +++ b/testcases/kernel/include/linux_syscall_numbers.h @@ -801,12 +801,6 @@ # ifndef __NR_sendmmsg # define __NR_sendmmsg 269 # endif -# ifndef __NR_cacheflush -# define __NR_cacheflush 0x1002 -# endif -# ifndef __NR_set_tls -# define __NR_set_tls 0x1005 -# endif #endif @@ -12754,9 +12748,6 @@ # ifndef __NR_settimeofday # define __NR_settimeofday __LTP__NR_INVALID_SYSCALL # endif -# ifndef __NR_set_tls -# define __NR_set_tls __LTP__NR_INVALID_SYSCALL -# endif # ifndef __NR_setuid # define __NR_setuid __LTP__NR_INVALID_SYSCALL # endif