From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com ([217.140.101.70]:40204 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730241AbeK3EM5 (ORCPT ); Thu, 29 Nov 2018 23:12:57 -0500 From: Vincenzo Frascino Subject: [PATCH v2 25/28] mips: Introduce vdso_direct Date: Thu, 29 Nov 2018 17:05:27 +0000 Message-ID: <20181129170530.37789-26-vincenzo.frascino@arm.com> In-Reply-To: <20181129170530.37789-1-vincenzo.frascino@arm.com> References: <20181129170530.37789-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Catalin Marinas , Will Deacon , Arnd Bergmann , Russell King , Ralf Baechle , Paul Burton , Daniel Lezcano , Thomas Gleixner , Mark Salyzyn , Peter Collingbourne Message-ID: <20181129170527.JveW6-VBQ7DREabVaj7llxr28B_KuNsNbtZSLYynSR4@z> vdso_direct is an architectural clock configuration parameter that exposes the usage of not of the vDSO. If vdso_direct is false, the time related syscalls will be used instead of the vDSO library. This patch introduces the parameter in the mips architecture to prepare the ground for the support of the generic vDSO library. Cc: Ralf Baechle Cc: Paul Burton Signed-off-by: Vincenzo Frascino --- arch/mips/include/asm/clocksource.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/include/asm/clocksource.h b/arch/mips/include/asm/clocksource.h index 3deb1d0c1a94..eab11ee4871a 100644 --- a/arch/mips/include/asm/clocksource.h +++ b/arch/mips/include/asm/clocksource.h @@ -23,6 +23,7 @@ * @vdso_clock_mode: Method the VDSO should use to access the clocksource. */ struct arch_clocksource_data { + bool vdso_direct; u8 vdso_clock_mode; }; -- 2.19.2