Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp220568pxb; Thu, 31 Mar 2022 03:57:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR0Yfa5gMMEi+WVdm2Y5JEI6tZMA3xt6fVqnXGfC5/vneaCNspq/4JHnPdk33w3IK8CmjZ X-Received: by 2002:a17:90b:4f88:b0:1c9:b632:9462 with SMTP id qe8-20020a17090b4f8800b001c9b6329462mr5422151pjb.54.1648724257615; Thu, 31 Mar 2022 03:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648724257; cv=none; d=google.com; s=arc-20160816; b=orvDavSfu+kBPORQrPfiWvzesh2nhQTBb4j4FqumOeCiMhKzT09TwWjAxA+TgrOFIr R1k1BJhFFtv8GZrowFxdJSX7aKnLDron3RZa3HJUW39/yaNwLBqCiG8hEkwkpo7Jo2xP 2ZYD3kecWCs8a0vIUsGhTwoYFIUj2Ug+p+0SJs9YsB1gS90dDdZb8Dg/+dAyv1mWHF/A x4hQ4u+OX6T+ze2SUDQsME4vNQrAsresgDrKr2Beq8c2BipzkNPttLsx6McvuHvlTXJM 4vE/snQo/p0/AzAGNKJARyAo0eoM+dL2mOXhHr1z3OCVJvpZdInzonrNEKhok8gKoNfi eFTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=simIxFuQhFC0b2QPPEUWraXeKPfwBWjld8LGtiFdMz8=; b=zjaRXWAAohdZS2f9O2XJY6pI8vynsz3v4eVleAFjMHmYc8PcKudCYEi3jWiEYd3/7m UHwNx07/sx3YKgKr40MsifcFG3OVGkqgAyupSv+X8DJgwr/A9SDhbhaDTnTtDB+i1l8B mfw7DszgR4EN5/6YvuOiOpWevOs75ylxcSzDCOrUmOCotrUfNDC7r8J9qF8Bi5pMDdSH S+rRfkv1Lxl/pJy7OURSq2yI0nnL/eoF7AX30vlp3p0I5gPfm+oaIaFvCrG0fol/XT8k pFPeFo2ttUhOQg8oZ0kHrT8kRUy7EwEopF1Z1MIbByBEupr5tBVOl/vLCE6MmdxgaQ3m iEVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lUKrG6Kb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oa10-20020a17090b1bca00b001bed0171c8esi2984150pjb.13.2022.03.31.03.57.25; Thu, 31 Mar 2022 03:57:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lUKrG6Kb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233277AbiCaIwI (ORCPT + 99 others); Thu, 31 Mar 2022 04:52:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233309AbiCaIvp (ORCPT ); Thu, 31 Mar 2022 04:51:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 288EF47547 for ; Thu, 31 Mar 2022 01:49:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3215BB82005 for ; Thu, 31 Mar 2022 08:49:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61C72C340F3; Thu, 31 Mar 2022 08:49:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648716594; bh=mhNQddazJ57El0uDfD+vnjahyTMel63pDkcF/sZlYJE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lUKrG6KbH+d6+/fi/GJcPOEQ04Us+14PmaAuJ1LOSr/dR/AX2stY96oA5srZE7fjC M/2JDAssLyDltKcpn+PoFYajJz9u1p6h3ttCjJfTEnkfr6qIojs7SIE0yzY9KVzcB0 s6cGHyKL80oBdtysj05KGEPVUOjOVAWes8uq5W6ldByvKKBFCZgFwzh4ewPp+ztoqu YAfX9on6rUCX1Bmy77iQb1HjToi3XrzCcxQPnyzcxTIJ3dMZSbRRJUnIS83nYcUSd3 U5vSD29IRUPUHDeNC6N/EW4Y9kN6BAtxhsXH+jy6gHaL62RoVqzVERkeH2G993Vrly 8rz5OQePku/nQ== From: SeongJae Park To: akpm@linux-foundation.org Cc: andreyknvl@google.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH for-mm 2/3] arch/arm64/kernel/irq: Include missed header file Date: Thu, 31 Mar 2022 08:49:38 +0000 Message-Id: <20220331084939.26749-3-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220331084939.26749-1-sj@kernel.org> References: <20220331084939.26749-1-sj@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit da4561bd9c6b ("arm64, scs: save scs_sp values per-cpu when switching stacks") of -mm is moving declaration of irq_shadow_call_stack_ptr to scs.h of arm64 for !SHADOW_CALL_STACK, but didn't include it in irq.c of arm64. As a result, we show below build error when SHADOW_CALL_STACK is unset. linux/arch/arm64/kernel/irq.c: In function 'init_irq_scs': linux/arch/arm64/kernel/irq.c:44:11: error: 'irq_shadow_call_stack_ptr' undeclared (first use in this function) 44 | per_cpu(irq_shadow_call_stack_ptr, cpu) = | ^~~~~~~~~~~~~~~~~~~~~~~~~ This commit fixes the build error by including the header file. [1] https://lore.kernel.org/all/f75c58b17bfaa419f84286cd174e3a08f971b779.1648049113.git.andreyknvl@google.com/ Fixes: da4561bd9c6b ("arm64, scs: save scs_sp values per-cpu when switching stacks") of -mm Signed-off-by: SeongJae Park --- arch/arm64/kernel/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/irq.c b/arch/arm64/kernel/irq.c index 4199f900714a..9f7de9d5ee9b 100644 --- a/arch/arm64/kernel/irq.c +++ b/arch/arm64/kernel/irq.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include -- 2.17.1