Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp822231ybi; Thu, 30 May 2019 07:17:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqw90j4lIHfJO3M8mCJ+3V8B9M3Vm10QXEe8u1LiSWJpAU9Zs3HQI28JcTszwJJ/ubj1QBlo X-Received: by 2002:a62:1885:: with SMTP id 127mr4091869pfy.48.1559225878943; Thu, 30 May 2019 07:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559225878; cv=none; d=google.com; s=arc-20160816; b=eklQWIXa+f5XuzyZMTcMWeKG6tY+JqYuBotgcGWWTOqC95BdRPQQcDQcbtKZu51BnO lUjNl6jskVTL7E97uc1CDynO06EAz2HnOE/9cfj/5sQ5TnzvC35gl//ahMKRNA5cxOk/ ml4Wc3Jn9ryo6vo+hM5qZpqRQZTVH4LgZ9nS4WDDBHxOw29ufq2GbU6RBumgA+6nvZX5 EcFrrd/E9J0J6e+YWRKnIocW8tdIy+e7Ew+InHwCORHMdyeh44UF3N1I0nNMBX1BpXEw p6dnbI3VsAtPXCBNMWIjG0FUkI0x3zybyN5EN8/+ErXy4Luktis6r4dtkKH12n8NTGG/ GNrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=j3K2Uz0oH34kIa6DCGJ/z8Ox3MbYlgtfyIkCRARZbR0=; b=RxANNkKGMO0YVd3MLUlbkxjBLn+8qYeE/z2O8u/RNhzNSWzaaZC1mu20bTqeEDpBmu QA83mgJZ1O/R1aLij+KV37ksY8xSEEfH6v4c8PRduiuAJkPH88XRRYbpIRDE1Khcwsbd JHfiK9Fa/09lyearrRXD8ZFE3L5oEMMCFWDT8nEVPWqsjV5gdyVV7FJUMGINlhUqYQvA 9/xV4/qTUwXjphNTRMdQjBcMwY5xxB6Aq6GIWixnzWPSYFhSQd8uN013EOtPMF/ZH0nI pJoFFtTN/EN1uC/IVTA2rMTUFtq4ORLBgCyFXEWy4qFNPlVqP705DyoJ16pPLXF91EHF IHHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si2769616pjs.57.2019.05.30.07.17.38; Thu, 30 May 2019 07:17:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727318AbfE3OQH (ORCPT + 99 others); Thu, 30 May 2019 10:16:07 -0400 Received: from foss.arm.com ([217.140.101.70]:36552 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbfE3OQG (ORCPT ); Thu, 30 May 2019 10:16:06 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A382F169E; Thu, 30 May 2019 07:16:05 -0700 (PDT) Received: from e119884-lin.cambridge.arm.com (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8B7963F59C; Thu, 30 May 2019 07:16:02 -0700 (PDT) From: Vincenzo Frascino To: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Arnd Bergmann , Russell King , Ralf Baechle , Paul Burton , Daniel Lezcano , Thomas Gleixner , Mark Salyzyn , Peter Collingbourne , Shuah Khan , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , Huw Davies Subject: [PATCH v6 06/19] arm64: compat: Add missing syscall numbers Date: Thu, 30 May 2019 15:15:18 +0100 Message-Id: <20190530141531.43462-7-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190530141531.43462-1-vincenzo.frascino@arm.com> References: <20190530141531.43462-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org vDSO requires gettimeofday and clock_gettime syscalls to implement the fallback mechanism. Add the missing syscall numbers to unistd.h for arm64. Cc: Catalin Marinas Cc: Will Deacon Cc: Arnd Bergmann Signed-off-by: Vincenzo Frascino --- arch/arm64/include/asm/unistd.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index 70e6882853c0..81cc05acccc9 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h @@ -33,8 +33,13 @@ #define __NR_compat_exit 1 #define __NR_compat_read 3 #define __NR_compat_write 4 +#define __NR_compat_gettimeofday 78 #define __NR_compat_sigreturn 119 #define __NR_compat_rt_sigreturn 173 +#define __NR_compat_clock_getres 247 +#define __NR_compat_clock_gettime 263 +#define __NR_compat_clock_gettime64 403 +#define __NR_compat_clock_getres_time64 406 /* * The following SVCs are ARM private. -- 2.21.0