Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1356639ybi; Thu, 30 May 2019 16:18:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFwX1LSDVFSjGwSP86otEPP5K+4YEeLFclYhijuc7pK7Ed0pXHHumkpWorwskeyVW9kMB6 X-Received: by 2002:a17:90a:2e89:: with SMTP id r9mr5704048pjd.117.1559258328830; Thu, 30 May 2019 16:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559258328; cv=none; d=google.com; s=arc-20160816; b=MCKk/EU2oG8U8rw0z0N4GQIi73N/QrsaYbgdhLawixL8c9OtSuAUtS0uKcrmV1cCW9 3tk2LBuAr6RndapcQJf62CabAFsOAg4pPIhqU/a5C2m7+JNAWdNsTifssoffvcMRwJ3J xigo2YSXZCmEGS3nxQGSs/lygH7JOZ6OUedPXJHPV4gXM1sckRioMUc2j5FDP5cUtlss cHyudifsfgoqQMsEWTZ9F5avUd08NjhVNurWMmKA5aWoj/9CYv5DsQOr/bLzkhpoNjUT ptNINX+7rLzibGhxAePzrWtXq0mUth45Su+cgIjUfl3/E6JMhtLHpLoJCSMJoDy0Fhpz iqag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=8OuX4xShfNASS1kU8dLb0K1y+qLHuVxh22K4Er6Vwk0=; b=AIxyJi7IruaRALeCpJkVprbzttzbHboMdvHDTAazQIsAGKjDiHpZSlHjRjueF0H3Wj VbD1QPqBPdUq17vyJGrxXeHIJEcdYow4mwlF54uln8HLeSSFiB2nftNRmdntL/nser+S TqAUALChwtrh1D1YRyGALjOoilEC2IyaQ2l/ZExYtCcuvJnCEHGzeWM3B/g+XV7eUOnP Bfr9JO+q3jq0QyD9PzmFW/gdhi5WZZO3NR0UWNUk0kzxUTTae/C+3sVJif3qQZIL0tyH 27MjcsgEL1ZgBdnqAEbY7IOAkvcLxuCV2+vqln/Rj2fnunDyZmGgdEzltTVuFAfxTyfy J2vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KH3mYn0g; 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 r93si3830920pjb.4.2019.05.30.16.18.32; Thu, 30 May 2019 16:18:48 -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=KH3mYn0g; 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 S1726576AbfE3XRS (ORCPT + 99 others); Thu, 30 May 2019 19:17:18 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:42149 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbfE3XRS (ORCPT ); Thu, 30 May 2019 19:17:18 -0400 Received: by mail-ed1-f68.google.com with SMTP id g24so1902287eds.9; Thu, 30 May 2019 16:17:17 -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; bh=8OuX4xShfNASS1kU8dLb0K1y+qLHuVxh22K4Er6Vwk0=; b=KH3mYn0gHZuJL8QRMPVXovnbxLJCVRy8MUXPWOmrRKKwPPnnhowfJE5JGNGY/iyBal HCwmGbgbTOI8NEFztLRQdkL3RnniYglTXoKno2LF9LeBCaxSx/wP0ZoG0itMVKKRDPmk 5pdXTjEG+Ucq5Wzt3Anr27481Qk9gC/LYcwaLu5h3IrR9C1kv21ItqVs57zDvw9spHhd sQsxehz03mTRPnjdN3jd1OKt56jNexDDmSylD2gbleX7twbJPKt6GjTANvPBn/RX2u2d ane8D7xR6YgEmbuocDLkG8Zp7ySp6TgPNrq5Q06BaxkpW+61eS1LrzQSW8QCqPoGzyc7 HtSA== 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; bh=8OuX4xShfNASS1kU8dLb0K1y+qLHuVxh22K4Er6Vwk0=; b=o7uhhfYS0ByDPw4eQnqAHf/23DibfHb7G8vtWIzkc6Jwh2k2Fl8yhhcB6DHtwErGBm sDkc4A6ty9RpSIMQ/fiv8sqsk9beiR2GXWzz9mnlAKhDIHqRa81rumv+Ki6e0AE90u5B un/ITyn6yObvbEDf1Fmep6LK+UC7/aGUKmop47YbLBtQmeddBaFAzYtOW7btuUW+UQsr 2ZeHGm6/BE4MBbiziUhNz3ikU95EPuJo/jCwJlvZUQHpTdvDmaiVpkRlP3QORl5HPIKm ALQvAXWNkDI+bHaeTxzpqEWpUcHk3sor3X9mvjHF/PL3zwpeX/abe6vlS/L8d6myM3IP QolQ== X-Gm-Message-State: APjAAAVM/ZtQx9Kdcyksd4FSxLg+TRMgXb8I3QjzLv1+wfFZjgQHl4/w 4M9gOC1bhnoKQKiZr7/mlR/mxrpm X-Received: by 2002:a50:e048:: with SMTP id g8mr7783570edl.26.1559258236714; Thu, 30 May 2019 16:17:16 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id f3sm656568ejo.90.2019.05.30.16.17.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 May 2019 16:17:16 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Kevin Cernekee , Thomas Gleixner , Jason Cooper , Marc Zyngier , bcm-kernel-feedback-list@broadcom.com (open list:BROADCOM BMIPS MIPS ARCHITECTURE), linux-mips@vger.kernel.org (open list:BROADCOM BMIPS MIPS ARCHITECTURE) Subject: [PATCH] irqchip/bcm7038-l1: Fix build on ARM/ARM64 Date: Thu, 30 May 2019 16:16:58 -0700 Message-Id: <20190530231658.23273-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver uses cpu_logical_map[] which is defined under arch/{arm,arm64}/include/asm/smp_plat.h. Fixes: 5f7f0317ed28 ("IRQCHIP: Add new driver for BCM7038-style level 1 interrupt controllers") Signed-off-by: Florian Fainelli --- drivers/irqchip/irq-bcm7038-l1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c index 0acebac1920b..970857a32508 100644 --- a/drivers/irqchip/irq-bcm7038-l1.c +++ b/drivers/irqchip/irq-bcm7038-l1.c @@ -30,6 +30,9 @@ #include #include #include +#if defined(CONFIG_ARM) || defined(CONFIG_ARM64) +#include +#endif #define IRQS_PER_WORD 32 #define REG_BYTES_PER_IRQ_WORD (sizeof(u32) * 4) -- 2.17.1