Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7086720ybl; Mon, 23 Dec 2019 18:01:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwu2zcsSPrJ/ew8kszmvOmO90bP0puyKx7GwH383kjhIuhKM/VGaOObkPvBAtVCjPkA3kVn X-Received: by 2002:a9d:2073:: with SMTP id n106mr26526864ota.145.1577152907040; Mon, 23 Dec 2019 18:01:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577152907; cv=none; d=google.com; s=arc-20160816; b=CJtqNEwN8pqfsqlksgNnxX8mbtAiKkTzJ+H5x+0QpVIEcgfY044zcGEwJyVBK45iOq dsDHiSo8sg/4cMUby39Uyf5Cf3AE0gc7YRNacEebJGbheYD4WaKQsB9TaZ7gbVNsPj6k go/NEGSxMgxO7DCqliAly5YK+VuZrM2hkIh29z7UMlcQZ5NRjuwpzmVltOEN/ioZ92Mn hwYlzzV9+6170JWl8pca/oouQOJKLcObQd4cw2DdDgAFbLUQNHFOpfvkEjr+FDpSoVk2 4Je7O7IVJkH8/InaOSgtjMcLWWiUC60csRRrKT81PZ9KVu5jAkPUZXeZNgpfmiGw7PVT 9Mow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mZIM8/IGO6yj32EzkYlDoUvjeWHo1IO0ajLflWLHJ1E=; b=tWvBVNvg0GtWpLCBuCtICGMW56w2Wx4mlZCYs+zYXoG8t9y/JqNL2SbpncCXBinkwD tB5aTaaMGQIBXQ5lLmwqfzHlSd28IEGmeuwxUZigOnvR+Oolu1cXNZ+7kTTMO8mehHNg xH+IgUlvcK7UqoDf3KxvsF0C59qaSlxKOeAAIX/d7IAVtIgmcHV2hVd2xYGd6rUVvkmi h/6h5BrtJ0LRvCppSdHJ31KtOHpdUZJOZSzjtcduVy1p8LiwtkbZJSFVoSMPR/jJh9Az 5lC35b0sm200vFNCR2Lce3VXNe054H6+M8bMhaD0hXqPUq2mvIvkDsktazUt4xSO5Zeb l0zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="vE/azURL"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si6418538otf.265.2019.12.23.18.01.35; Mon, 23 Dec 2019 18:01:47 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b="vE/azURL"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbfLXB7v (ORCPT + 99 others); Mon, 23 Dec 2019 20:59:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:44522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbfLXB7v (ORCPT ); Mon, 23 Dec 2019 20:59:51 -0500 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B7C3A21927 for ; Tue, 24 Dec 2019 01:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577152791; bh=mZIM8/IGO6yj32EzkYlDoUvjeWHo1IO0ajLflWLHJ1E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=vE/azURLnH3qmHdn1hy96edh/OrB+2oiYVAPcoNChA1APgqTQyUag0cYd3A8FiQ3I z+MecPlyIZpolq5Y/HqAQ51oX17foKhSZtLpPUMoekuaY051HMxyJWgyQ6kFQpJYl/ f4fGsUdpfoEdNSCX6ZJ9N8upAriGiQ56oRzvKg4s= Received: by mail-wr1-f49.google.com with SMTP id g17so18583141wro.2 for ; Mon, 23 Dec 2019 17:59:50 -0800 (PST) X-Gm-Message-State: APjAAAVRhKg4vaq1t31aq6vp/o5AVYaq/7B6IY4cku5cWEJj89L6JK0y LeL6ft5b+JipcAdjlo17RpmmWAjr8KL155F3pYVxYQ== X-Received: by 2002:adf:f2c1:: with SMTP id d1mr31723699wrp.111.1577152789083; Mon, 23 Dec 2019 17:59:49 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andy Lutomirski Date: Mon, 23 Dec 2019 17:59:36 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v2 08/10] lib: vdso: Avoid duplication in __cvdso_clock_getres() To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Arnd Bergmann , Thomas Gleixner , Vincenzo Frascino , Andrew Lutomirski , LKML , linuxppc-dev , linux-arm-kernel , "open list:MIPS" , X86 ML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 23, 2019 at 6:31 AM Christophe Leroy wrote: > > VDSO_HRES and VDSO_RAW clocks are handled the same way. > > Don't duplicate code. > > Signed-off-by: Christophe Leroy Reviewed-by: Andy Lutomirski