Received: by 10.223.164.202 with SMTP id h10csp101741wrb; Wed, 29 Nov 2017 17:57:03 -0800 (PST) X-Google-Smtp-Source: AGs4zMb3HpgfIdX9FZtnJMTlBCcS3Ybb5so86ihWVc22pYPSOuXyMs81+DQEOCsHjmhphaHs8QpX X-Received: by 10.101.74.200 with SMTP id c8mr815782pgu.369.1512007023035; Wed, 29 Nov 2017 17:57:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512007022; cv=none; d=google.com; s=arc-20160816; b=g8UvueY/hrqNyAmU9LNZjv1JArb/AdAvEpbS8U3RGDEvLUcLmyzn1kZi5Qpb8I+sGR svBtzJSs9zOAum+fmDXSRq77037UNGXSJqPOztooN1saWe8ga4bhR1CNtYs1VfMKcEme HwVRFHCVpZDK5Arm1GJhOgWPsfpMs/jZVnOooPX8KW2gI6VTn+MNQ1v3kAvw4i9nx/gI d8kGpZsbPjZVBvmiypPkcYNEN9XqQplQFeEzxI2e2cC6Ig4zyIcUxVuwt9/xeh1zdHKF fXXiM9xN8tLCaHWeMI08h1ekVaD8YkI1PDNwHNMIDeZ2epeAwKuv0h0aRNZVwdM1WJ4z 3VWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ZyhEwaeQ26LjjmC0qTNo+cDmS//QtSxob29rHWVgBgM=; b=0IkipE2V3E1PCpNvnlQEzdWmZh/HLcSVs4X26NK1kb+x4YHLL2AYTm3dbO+H6yz9Oc Ay8qp9NeXM7+oK9iJESHcdfT3BBWvL+9UrxOmnjGUMKkKxVNCgijPaS7iijkeTNzh/QF 99BeRYfiCDbr1QIAEOmE4+SHXrX44FcXIR16Q1D4yKnHCa9IaIVPbdMadTlFts7M9f0X wx6QsMOJOzg/wXT7SHsW5IzGoPvK6d2ALoFyz0T0P7s42GnF0FmKUjRWsbW/ATfFjMqQ ktS618W1sh9U9+iw8ArR2hKop28UK6XsYxP8t/xn+F4efyfD3YioxB2lTmb6Hd6sjCkH vEuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=w9KswXYi; 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 x2si1455483pfh.381.2017.11.29.17.56.49; Wed, 29 Nov 2017 17:57:02 -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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=w9KswXYi; 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 S1753736AbdK3B4O (ORCPT + 99 others); Wed, 29 Nov 2017 20:56:14 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:42202 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753668AbdK3B4A (ORCPT ); Wed, 29 Nov 2017 20:56:00 -0500 Received: by mail-pl0-f67.google.com with SMTP id bd8so3268402plb.9 for ; Wed, 29 Nov 2017 17:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZyhEwaeQ26LjjmC0qTNo+cDmS//QtSxob29rHWVgBgM=; b=w9KswXYi6rWrLmuTZI2MnQBO6deP5NyRutA8cchpsRFqbzZZyeGDOO9Whhj87+u6IZ rARWozaYAtg25DJBq646xkUmXbPM1o5Z+l8ABwQ1bKL2rBC+tSKpffwVg47dhOSpnCgG A1vCkocUw2yai98xVDH/7Z7feX7SqWwrjsoNpS50+jHTXJX+a227VDSH9aFhsG+CRgth f/CxnM4xAR0jb0ldjWKn39BgiY/jvT6v2Ii/gZeiVob7cGVTL+/UTQYbb0dTdc83Z42e iAVXqSjfVqoDHkkRY2OBzScfAH+Vd9gGz6NPpwuPVdBP8YHZbrJ+EgnKy4QyttyZdlRY Lkqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZyhEwaeQ26LjjmC0qTNo+cDmS//QtSxob29rHWVgBgM=; b=WZ303sWfRJ5HzzKhe7p90Kin+LxB3ZyNnHPZC7UDbAm8YN5sOZAhPH2Tnc5f7o/uC/ 1tPlhkSVHif7Pyuw+QUH+1PRmdgIdHoxcH7NCKJrfsN3snhcCzt476R6ulnY6wgbLLAR c+yxByEKK60SHr9fvPyH9GzyYg94gxmstRFZWn6ESc1EOn8DWTteRRnlapbV31/DXhNi ia/xN0D+d/2gjArWE29iZGGLGPgEJmU9NhY7tZf0lgBdUuIzY0lQGO1eu2hEg66tuoL1 WM8luMH3L6qteIENDrvkVW1rD/OMmDFlw+EZ5vtWQ2cENjQyUNCbz3qBjI2hI4NRTwjR /MRw== X-Gm-Message-State: AJaThX5Zc94ExEHsmbflsaEQk7s2MQCW0Qb9+HaX3gTRI5G4njsMke4D 45L4MI2+0nf6eU6t5QRq5OGecQ== X-Received: by 10.84.195.228 with SMTP id j91mr879955pld.120.1512006959693; Wed, 29 Nov 2017 17:55:59 -0800 (PST) Received: from brutus.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by smtp.gmail.com with ESMTPSA id l80sm5178177pfb.124.2017.11.29.17.55.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Nov 2017 17:55:58 -0800 (PST) From: Olof Johansson To: Palmer Dabbelt Cc: Albert Ou , patches@groups.riscv.org, linux-kernel@vger.kernel.org, Olof Johansson , Dmitry Torokhov Subject: [PATCH 10/10] input: joystick: riscv has get_cycles Date: Wed, 29 Nov 2017 17:55:21 -0800 Message-Id: <20171130015521.1289-11-olof@lixom.net> X-Mailer: git-send-email 2.8.6 In-Reply-To: <20171130015521.1289-1-olof@lixom.net> References: <20171130015521.1289-1-olof@lixom.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 From 1585455166280245618@xxx Thu Nov 30 02:11:11 +0000 2017 X-GM-THRID: 1585446144085265122 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread