From nobody Fri May 8 06:54:31 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11D10C4332F for ; Mon, 9 May 2022 06:28:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234457AbiEIGbA (ORCPT ); Mon, 9 May 2022 02:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235066AbiEIGVs (ORCPT ); Mon, 9 May 2022 02:21:48 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6F7D1778A0 for ; Sun, 8 May 2022 23:17:54 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4KxWCb0xg9z1JBt4; Mon, 9 May 2022 14:16:43 +0800 (CST) Received: from dggphis33418.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 9 May 2022 14:17:52 +0800 From: Gaosheng Cui To: , , , , , , , CC: , , , Subject: [PATCH -next] arm64: add missing header dependencies Date: Mon, 9 May 2022 14:17:51 +0800 Message-ID: <20220509061751.3434059-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get one error when building module with processor.h: ./arch/arm64/include/asm/processor.h:263:36: error: implicit declaration of= function =E2=80=98task_stack_page=E2=80=99; ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1) ./arch/arm64/include/asm/processor.h:266:42: note: in expansion of macro = =E2=80=98task_pt_regs=E2=80=99 #define KSTK_ESP(tsk) user_stack_pointer(task_pt_regs(tsk)) task_stack_page is declared in linux/sched/task_stack.h, so this patch add the missing header dependencies. Signed-off-by: Gaosheng Cui Reported-by: kernel test robot --- arch/arm64/include/asm/processor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/pr= ocessor.h index 73e38d9a540c..1c239841c4d6 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include --=20 2.25.1