Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1557175imu; Wed, 16 Jan 2019 22:46:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN50N+/5lNeJn5QGxtfsBtRDPuzjR2KVYkrG1QdHsjuNzkNQ4MKrEt8yc9DSTkIUMpHV4df6 X-Received: by 2002:a17:902:1e9:: with SMTP id b96mr13860133plb.150.1547707600583; Wed, 16 Jan 2019 22:46:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547707600; cv=none; d=google.com; s=arc-20160816; b=BTiWINeYl6u/j5CJDoK4FwIX95Vm20g5mpeYKvs0gM8sbVcoGOsJePi4vUBA69jdPX hPXj055W/xCDqsupE/U4P3EF/WOsQZZTas5xPtVgIa3Cq/yhRTvtHHQYAwZIgDbMZqYV FQ8lwsrVGiIMqJ4A/sPwSRoLcKDqAQ9UfF8DMoxC5ONymf0Fc1XoRwEu0GeYzRtwQwQa lL/Qlu3Q5t6x4HJeccioKj4Y6PKM0tefmdLrdKZEgoD9IQKnAEkrcxk05ZBYmeE7GplD 4fcq1mIo5PBCI3laR5s6s/91QsDhFUWsshU/B/KaY4hacGu/X/TQsQeZyP6cYFFIAfBM yfXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GFXvq5dSTrZrM9mmdtFuZf2wPdM1hQrPtZGhOlSjWDc=; b=lxglbfoeibw+sRka9Gnhq/D8Fo8eC9LaSJt/bEQDY9UPXuDsQrLLZEJl1nVlp4aVQH 9/6S3/XAdr0NieI1bQE/tWU1sbcBGSGWrHrNBo3zR9WrNXy7XhZPG/zjo418EyQWq0J7 ysnQonPTRAVrFIjMeZ14bv6uL4xlsFZd8L+Sxp4cpevv5gEGT7qf1TCK52PzLt16/snX z5JlPWQFcerrOSo3pDeMOe082Xg9JTH4Wwn2cBqW88XF9Hz0bsPMzpBlKUPaDVJw64cv v77bKoWNiLs6pvzKLbq4vyH8tDy8BmvgQ67osIYGsvajYHZJa9m1EtlinUKvMYaNox0X yKAQ== ARC-Authentication-Results: i=1; mx.google.com; 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 x18si857946pfm.39.2019.01.16.22.46.25; Wed, 16 Jan 2019 22:46:40 -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; 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 S2405707AbfAPQdB (ORCPT + 99 others); Wed, 16 Jan 2019 11:33:01 -0500 Received: from bastet.se.axis.com ([195.60.68.11]:42701 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732087AbfAPQdA (ORCPT ); Wed, 16 Jan 2019 11:33:00 -0500 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 16B4D1855E; Wed, 16 Jan 2019 17:32:59 +0100 (CET) X-Axis-User: NO X-Axis-NonUser: YES X-Virus-Scanned: Debian amavisd-new at bastet.se.axis.com Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id q-2rmP8s9fHD; Wed, 16 Jan 2019 17:32:58 +0100 (CET) Received: from boulder03.se.axis.com (boulder03.se.axis.com [10.0.8.17]) by bastet.se.axis.com (Postfix) with ESMTPS id 366AF18525; Wed, 16 Jan 2019 17:32:58 +0100 (CET) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1CBDC1E075; Wed, 16 Jan 2019 17:32:58 +0100 (CET) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 10CAA1E06E; Wed, 16 Jan 2019 17:32:58 +0100 (CET) Received: from seth.se.axis.com (unknown [10.0.2.172]) by boulder03.se.axis.com (Postfix) with ESMTP; Wed, 16 Jan 2019 17:32:58 +0100 (CET) Received: from lnxartpec.se.axis.com (lnxartpec.se.axis.com [10.88.4.9]) by seth.se.axis.com (Postfix) with ESMTP id 047E0177; Wed, 16 Jan 2019 17:32:58 +0100 (CET) Received: by lnxartpec.se.axis.com (Postfix, from userid 10564) id F2F3E80B4B; Wed, 16 Jan 2019 17:32:57 +0100 (CET) From: Vincent Whitchurch To: sudeep.dutt@intel.com, ashutosh.dixit@intel.com, gregkh@linuxfoundation.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, Vincent Whitchurch Subject: [PATCH 3/8] vop: Add definition of readq/writeq if missing Date: Wed, 16 Jan 2019 17:32:48 +0100 Message-Id: <20190116163253.23780-4-vincent.whitchurch@axis.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190116163253.23780-1-vincent.whitchurch@axis.com> References: <20190116163253.23780-1-vincent.whitchurch@axis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include so that readq/writeq are replaced by two readl/writel on systems that do not support them. The values read/written are pointers which will be 32-bit on 32-bit systems so the non-atomicity should not matter. Signed-off-by: Vincent Whitchurch --- drivers/misc/mic/vop/vop_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c index 5a366cf68d95..26b23f2cf94c 100644 --- a/drivers/misc/mic/vop/vop_main.c +++ b/drivers/misc/mic/vop/vop_main.c @@ -34,6 +34,7 @@ #include #include #include +#include #include "vop_main.h" -- 2.20.0