From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14457C43610 for ; Thu, 29 Nov 2018 17:07:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DA44720863 for ; Thu, 29 Nov 2018 17:07:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JoCIfkd7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="xMlsxwkk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DA44720863 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KEmIozCTTvox9x0zo3ZDhkHvVK0Zv7oIX/q3sLgzm9c=; b=JoCIfkd7EGa/S7 caV6sSN18tUY08HiBIokMdSEDlSwYE+tB7AmZJc09Cv5nK8g7czXxRn855mttVAvByJlTN3gdGEci q5mIDCA7mRi6RdB/dpBX5eKexaztyeQ83DmFqRHjmtnsAFHD0oglPfB09GJ1OqNqHKuje2YDf51U1 ocKPpwvnHnsTvzHxrgB54crOzIz9XAAWxeXbdh6TuSq0SCouyirU4RHkPAlDTHcAjEMGas4sosxTp i/LRAkr6563zesOOIO5GL2gYm++GSTp8rPzYXCZkF8VsWU1l9bPQPRmCXO9v6l3TElXd8qwzY4Z+r f+Gu8jk+j85QAzksmtJQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSPml-0001du-FH; Thu, 29 Nov 2018 17:07:31 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSPlr-0000wp-96 for linux-arm-kernel@bombadil.infradead.org; Thu, 29 Nov 2018 17:06:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LKy1mnR1iag5rEhBNfPxj4CFmzb+3trscmHWy5ahZVQ=; b=xMlsxwkk4tSee2UxtRmXE3E55L ObR/GpXyBLD0op+l8wK+fuDxy3pZETJUOZxvD8emXCVjJxOEB4mRLepz5VAjH1UjU2JARnp5LsLBV x2KfoI2ZYiJFh0yd0z6dP3zxRTkNOXjoaZkpjehDFdONXd23UfwZVnpDexTmusfoVfC8065pmln0K 2iSurkYy8+nrgXwAQiW9uFOYdfre5w3ynkT38NfpFpS/YZEpfNFfE0gnCB+LdJNcMT5yiukvAUQY4 2BdonGQLptg5l08b/XPVp5zkwN10Yhz1zvNuyY403xQMxuk3o9qi7tkOV0lJabG3ewQw/JSPtrvTc Hx4LLLKA==; Received: from foss.arm.com ([217.140.101.70]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSPln-0002zH-HV for linux-arm-kernel@lists.infradead.org; Thu, 29 Nov 2018 17:06:32 +0000 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 0A97B15AD; Thu, 29 Nov 2018 09:06:26 -0800 (PST) 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 EB6C33F59C; Thu, 29 Nov 2018 09:06:23 -0800 (PST) From: Vincenzo Frascino To: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 13/28] arm64: compat: Add missing syscall numbers Date: Thu, 29 Nov 2018 17:05:15 +0000 Message-Id: <20181129170530.37789-14-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129170530.37789-1-vincenzo.frascino@arm.com> References: <20181129170530.37789-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181129_120631_666232_39B26A8E X-CRM114-Status: GOOD ( 13.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Catalin Marinas , Daniel Lezcano , Will Deacon , Russell King , Ralf Baechle , Mark Salyzyn , Paul Burton , Thomas Gleixner , Peter Collingbourne Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org vDSO requires gettimeofday and clock_gettime syscalls to implement the fallback mechanism. This patch adds 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index b13ca091f833..a85b30b766a1 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h @@ -33,8 +33,11 @@ #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 /* * The following SVCs are ARM private. -- 2.19.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel