Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1346519ybi; Thu, 30 May 2019 16:07:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCINKu+FymqFx8aUB1sXrj/tfJODNilLIEwPSVwBYZ5LgItMVk9bmGA0WR0UQOEc4MZckL X-Received: by 2002:a63:3dcf:: with SMTP id k198mr5941878pga.60.1559257641531; Thu, 30 May 2019 16:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559257641; cv=none; d=google.com; s=arc-20160816; b=eNDkX4QysRIbPJqIrKGGzqaIo0i0OTE+O0xit5xN/lhgzqCxhk4O+6B3bH6tPQUwut nuY4d3RGV0at5DbyWpTns7Js8Q60yLdeQOilAT1g94E0WxxZFn/0x7Z2cn9nSUjH+n9B yejfgrtBsjjZVmMRB/+bQhjSP+c9wCnswUD0AfSVmud/7o0HqEZ9+f/sruTsd3C6zPa1 lPCPb1nNSy+X8/6ANrbTkKFlsQMJHdHLuygotCP0huK54qzNO8BQviWKcNywHa602brU fu1ce7IaGbVisPWgILAs0nGZC0aSY3EzoYr3GsHN534olspBV3GNZa3r9/xYIM9WVMaw BXNA== 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; bh=b+zhfp2mLlsmTcyYwU+vQigbmWTMuWSVH8iE+gThN3E=; b=Txn2dnWFx1Gvgfh3UL+W2RUd/XMLlkQDUnXUfDtOnURsLewHjnJzqcdf6ZefDLWxPO 0PzWb6Twhl3xJ4vFizsetdfTqEdoxtC+C6tp29BGH5ryCUWjJt7GM4e3WNXWH9HuOMkU HhW8va/KhaYgSAwXKiCE2ElGv+m4LvtfVD7gDZtLSeEkIxVX2M8+JKthMneKZU4eTL4q 1eiYf/BPqXAISa6iIso9VODHt052xWwfmJW2cwOyI+q2oH8eMpsapR5ZBqkdQQ3b8jEE vHOONdH+McaXLjGo/dAC2LEbm57Ogw6nT3W4d9XOE69yOxptCuTVCRbVso4dEN7rvCX7 7idQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uzoRuZew; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si4412855pfd.258.2019.05.30.16.07.06; Thu, 30 May 2019 16:07:21 -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=@gmail.com header.s=20161025 header.b=uzoRuZew; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbfE3XFf (ORCPT + 99 others); Thu, 30 May 2019 19:05:35 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:40435 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbfE3XFe (ORCPT ); Thu, 30 May 2019 19:05:34 -0400 Received: by mail-ed1-f65.google.com with SMTP id r18so10454143edo.7 for ; Thu, 30 May 2019 16:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=b+zhfp2mLlsmTcyYwU+vQigbmWTMuWSVH8iE+gThN3E=; b=uzoRuZewUCcPDQJlDJLxMrkdcO9Aba52CApN7ezu5FEu8il6Ypl5p1sa+8eVm6LtMj Yu10POMOgrkAqrPmT7QUAyRvhiXAwO8bLzwm1tZOudc/C0JQPrMcRZRtGig/drUVHbAX MkNE+3gBJKFBZOjcbjpzNZGG58qqaaCQrSuHsf3eApTeCS1aXKp06ve/ipfqmHwABj+F dDwB3kOlKVjVZP0aSkuVIt9u5zRk8AQ5r2aA+towfq8gOG6GUd1tv7U8WKtlt+UdesCT DvyLKMPVYNGiarm6R5lAu6g1jhugKPEnIcDW5/eenf5fqM9RkjrQOMvax7W3fH+QQ1DV 4gmA== 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=b+zhfp2mLlsmTcyYwU+vQigbmWTMuWSVH8iE+gThN3E=; b=FpV/9/FYi7ILVI2zy7Jj0rFRuTBgvWlu6DQTCNjzovJIrJHGFhR1zG6fpuixyUMcLu T0N9+GpsSaSdihEhhjnmTjbQtj3zjxLBh0Oojgo3Vy4XvgTrqgxeGU1oPQJZjOVSMc4M w8zAThW4dTBaoGKecXspGZ8z+F7zu/AMlG9G8F6fmwW630mG7BYRjzBvCvaCOM7MFOU8 P++JhyH4YbaECePjO8vEWCpwz48VgYAlEPkMkU9Ajjt575m/zqutR5qzKkhOlSz+kJHl JjSVFO/TYQgXl9yXvHV2Z15x/bla6sOAm44vrMpIhLjrOgDO2EHhveB3enkOBAWaV9jI 5aBg== X-Gm-Message-State: APjAAAWf60UVtQf9eqLmL5/OTN6OG1TUn5EJi59zwsfH4RHyV1MUkvhQ jwez20FAmRlGabQiiTu4kXI= X-Received: by 2002:aa7:c919:: with SMTP id b25mr7717655edt.274.1559257532618; Thu, 30 May 2019 16:05:32 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id d22sm640338ejm.83.2019.05.30.16.05.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 16:05:31 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: marc.zyngier@arm.com, Florian Fainelli , Catalin Marinas , Will Deacon , Shaokun Zhang , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/2] arm64: smp: Include smp_plat.h from smp.h Date: Thu, 30 May 2019 16:05:17 -0700 Message-Id: <20190530230518.4334-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190530230518.4334-1-f.fainelli@gmail.com> References: <20190530230518.4334-1-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Most architectures provide the cpu_logical_map[] definition as part of asm/smp.h, which is included by linux/smp.h. For irqchip drivers that work across a variety of platforms (MIPS, ARM, ARM64, etc.), and making use of cpu_logical_map[] this avoids making any architecture specific include in those drivers. smp_plat.h uses -EINVAL, so make sure that header file include linux/errmo.h. Signed-off-by: Florian Fainelli --- arch/arm64/include/asm/smp.h | 1 + arch/arm64/include/asm/smp_plat.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h index 18553f399e08..259135d07a75 100644 --- a/arch/arm64/include/asm/smp.h +++ b/arch/arm64/include/asm/smp.h @@ -37,6 +37,7 @@ #ifndef __ASSEMBLY__ #include +#include #include #include diff --git a/arch/arm64/include/asm/smp_plat.h b/arch/arm64/include/asm/smp_plat.h index af58dcdefb21..eab572cff56c 100644 --- a/arch/arm64/include/asm/smp_plat.h +++ b/arch/arm64/include/asm/smp_plat.h @@ -20,6 +20,7 @@ #define __ASM_SMP_PLAT_H #include +#include #include -- 2.17.1