From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752897AbdK3GtA (ORCPT ); Thu, 30 Nov 2017 01:49:00 -0500 Received: from mail-it0-f65.google.com ([209.85.214.65]:40169 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752082AbdK3Gs7 (ORCPT ); Thu, 30 Nov 2017 01:48:59 -0500 X-Google-Smtp-Source: AGs4zMbUNvYik2dthLIWee316Ez8+3p/AVhZ+PuZuYNmIlFdu2rE2gpp1/6P5ixbuBd7X7i9CU0PIg== Date: Wed, 29 Nov 2017 22:48:55 -0800 From: Dmitry Torokhov To: Olof Johansson Cc: Palmer Dabbelt , Albert Ou , patches@groups.riscv.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/10] input: joystick: riscv has get_cycles Message-ID: <20171130064855.utnh3nwhby5hzry5@dtor-ws> References: <20171130015521.1289-1-olof@lixom.net> <20171130015521.1289-11-olof@lixom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171130015521.1289-11-olof@lixom.net> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 29, 2017 at 05:55:21PM -0800, Olof Johansson wrote: > Fixes: > > drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] > > Signed-off-by: Olof Johansson > Cc: Dmitry Torokhov Applied, thank you. > --- > drivers/input/joystick/analog.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c > index 3d8ff09..c868a87 100644 > --- a/drivers/input/joystick/analog.c > +++ b/drivers/input/joystick/analog.c > @@ -163,7 +163,7 @@ static unsigned int get_time_pit(void) > #define GET_TIME(x) do { x = (unsigned int)rdtsc(); } while (0) > #define DELTA(x,y) ((y)-(x)) > #define TIME_NAME "TSC" > -#elif defined(__alpha__) || defined(CONFIG_MN10300) || defined(CONFIG_ARM) || defined(CONFIG_ARM64) || defined(CONFIG_TILE) > +#elif defined(__alpha__) || defined(CONFIG_MN10300) || defined(CONFIG_ARM) || defined(CONFIG_ARM64) || defined(CONFIG_RISCV) || defined(CONFIG_TILE) > #define GET_TIME(x) do { x = get_cycles(); } while (0) > #define DELTA(x,y) ((y)-(x)) > #define TIME_NAME "get_cycles" > -- > 2.8.6 > -- Dmitry