Message ID | 1491860104-4103-2-git-send-email-ynorov@caviumnetworks.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1540631qgd; Mon, 10 Apr 2017 14:35:45 -0700 (PDT) X-Received: by 10.98.102.24 with SMTP id a24mr3027174pfc.33.1491860145063; Mon, 10 Apr 2017 14:35:45 -0700 (PDT) Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s1si14631844pge.356.2017.04.10.14.35.44; Mon, 10 Apr 2017 14:35:45 -0700 (PDT) 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=@CAVIUMNETWORKS.onmicrosoft.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 S1753177AbdDJVf3 (ORCPT <rfc822;julien.grall@linaro.org> + 24 others); Mon, 10 Apr 2017 17:35:29 -0400 Received: from mail-dm3nam03on0089.outbound.protection.outlook.com ([104.47.41.89]:38560 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752940AbdDJVf0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 10 Apr 2017 17:35:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SPETlbORshdRVUMtERNIvdIJ6kGSkzQk/gjo8eTFGkg=; b=CTMVsMD4S0MF2vJ33R2R7fHUFv9X2AOfn/wN0dtdh5/8XjAUrS/LCPltT6Aouqa0tq6GqLEBpWkWD6mhC/SVIeioHmVVl1IV4rf1I7ozBjZ8QZ+qlkR/Ic2C9hYOit1hyibLGFgajQoWUFjYaww5QxKiG++AxFRykAh+eipEgEU= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (217.118.90.188) by BN3PR0701MB1268.namprd07.prod.outlook.com (10.160.118.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Mon, 10 Apr 2017 21:35:24 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Yury Norov <ynorov@caviumnetworks.com>, Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Arnd Bergmann <arnd@arndb.de>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Jan Glauber <jglauber@cavium.com> Subject: [PATCH 1/3] kernel/locking: #include <asm/spinlock.h> in qrwlock.c Date: Tue, 11 Apr 2017 01:35:02 +0400 Message-Id: <1491860104-4103-2-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491860104-4103-1-git-send-email-ynorov@caviumnetworks.com> References: <1491860104-4103-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [217.118.90.188] X-ClientProxiedBy: AM4PR0701CA0003.eurprd07.prod.outlook.com (10.165.102.13) To BN3PR0701MB1268.namprd07.prod.outlook.com (10.160.118.142) X-MS-Office365-Filtering-Correlation-Id: 3e49291c-925d-4136-3ac5-08d480597f74 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BN3PR0701MB1268; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1268; 3:PTfkNoOi9f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iha1y/XvW6rp/uQtKZzSX0EcThLmH; 20:irAIaKSa303Bjjlg/DsX3IIHxR0ErOETk8P02gviFx7VkLuFwxg4MY6ECzaYQW1zfGXiKJ8+WMYJKONabksMfID0Rgywmm8NpvaG0BRX2Tfcf8v/AIralNvFytxsTaCt3Jz6pHQ+ZSK7h010A7yYCVxzxy7t1qHk+jvqQAavjmJT4gnavnABcNPKPAVR1D4aYepgHjdOYduTVicxlyicYPQbsFlYfQNEHesN9NX1/YYf8+0LARD2YCXKlghpX/F/G2tE8WAEi2vssxzG23FTbhQj+EqxAZnABGDkYI+w3HJOhnZwaqAHGk8EMqbezPUQqcVKE3v34W9P7vtapMfp1JBgwFgVb2R3y1fYiBneFC2hGrJ8n/3WoZC6ddkaPmPCRMmR3PZQiytGswfzwUoDtrL7C/9SloX3z9WGgVVADoXlUwKa6x8C2E2Mk7LS7kroIN7osA/maWIjqq7V9fvvtPco5qkRBqyOQvkenp+oHMGTov3um5zRZQ0YiDHmYXidS25/Plw3XPiOnL97LRtRSElb+FTsCu2TtjfY2X6SeC8bqUlKaQqdcxARWkM5PAUx7UaWiTiRN0ed8hiH5YZYc5+ENA4FsFggpECOK1rWkPY= X-Microsoft-Antispam-PRVS: <BN3PR0701MB1268CD55A26C1DF820D1FE46EE010@BN3PR0701MB1268.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(6072148); SRVR:BN3PR0701MB1268; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1268; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1268; 4:ibm1EJYIUvibszsVx8auk70zGBNABGT51V5uGzNZ4UduhvoaIMOVx0hIE0JGLkN2AYKDuYiAbl9NTvVMgiyOZHzWmzt8IcCG5Qn/R1GwQeUPxW9+MZzQeo9yBdf2wJFS+Kn87kFhFmTkeYpARC0Mrbssd13aS4JOOprhoIXbDIvJoh/j5mWRRNu/onjN4nl/yXSSMIwWpgcmr6GbhKqtNi9c3lf3BLxOU5jWpNJavpaoi6jAm1+6frCIXt+/LFCSskhqF10D4uKJbleycNLNZ5Zifg6sdgI7uhwSk47no3yZPIxsCE5gekJk8SQLxN9m56WGHw28f/gda44gCaxpzs1OI7VqCjb4lwMQAJO0Fy7cOYqFbc8zMh8OR/gbFj0G+zho4gBawXOV7VlKwXny3YX2XZzQYw+GZRhwgqk9/8dWewVaLSGjhLWSI6BZe3Q/HQdbD3FKcZlvhUuGEj0bf7Fo6VtngllZOdfBNAs3fMmXl3JrUNDeO/nrDsjjxUPzskwWsFM2LOa7NYDaFZn+O7IdstidB7eDzmkPTxUstKMKpBrAquQrAkTleZi3tfrFywAeq27gsDTMCCIFU4d2AYL23aikt/1QFefJuYO+ngaM9VAqSdzY249nYXaDfn7RsKyYNqbkBTdlKbjH4rMB+rJYQjYlQ4X5wi72tV+dJcVxTDNe6feTrU+CCe0mr8qnff+ZJfsV1aai9zHJd4m13g== X-Forefront-PRVS: 027367F73D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(39840400002)(39850400002)(39450400003)(39400400002)(39410400002)(6666003)(54906002)(53936002)(6496005)(6486002)(6116002)(42186005)(50986999)(76176999)(3846002)(25786009)(2950100002)(76506005)(2906002)(33646002)(189998001)(4326008)(107886003)(38730400002)(110136004)(81166006)(50226002)(5660300001)(8676002)(5003940100001)(575784001)(66066001)(36756003)(48376002)(50466002)(47776003)(305945005)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1268; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1268; 23:J6kLhBwCFypAnkhSjOiBMRXcX4FwadUq2tO8TDWWy6tJIw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AvVCA0OndPNuuk3d+skymNFFntqJEm1uJz5p7j+KG//B8Nm7WBQzJlnOdOL57Krtr57Dw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2017 21:35:24.0790 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1268 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
arm64: queued spinlocks and rw-locks
|
expand
|
diff --git a/kernel/locking/qrwlock.c b/kernel/locking/qrwlock.c index cc3ed0c..6fb4292 100644 --- a/kernel/locking/qrwlock.c +++ b/kernel/locking/qrwlock.c @@ -20,6 +20,7 @@ #include <linux/cpumask.h> #include <linux/percpu.h> #include <linux/hardirq.h> +#include <asm/spinlock.h> #include <asm/qrwlock.h> /*
qrwlock.c calls arch_spin_lock() and arch_spin_unlock() but doesn't include the asm/spinlock.h, where those functions are defined. It may produce "implicit declaration of function" errors. This patch fixes it. Signed-off-by: Yury Norov <ynorov@caviumnetworks.com> --- kernel/locking/qrwlock.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4