Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp3750756lfb; Mon, 9 May 2022 03:19:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxD74MSw9DfqbcdCZiPRiKeyl3+ishbXEA/nTzrXMZV6pS41RhxYhKqR42nUugV8Vy2hkXp X-Received: by 2002:a17:902:a387:b0:15e:f63f:237f with SMTP id x7-20020a170902a38700b0015ef63f237fmr11951147pla.32.1652091581544; Mon, 09 May 2022 03:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652091581; cv=none; d=google.com; s=arc-20160816; b=J+/i30N3mO8Op+xBJNIL6OcHW+q8yZqiUmtIqzzbdIfmd7YZvh2TrhEw7acM6b232d 9NvT/HRpqkF7OIuH1K67nDnJzpi4uN7fuSQS8OJoZx6az5+F0dHGQRYaRpa0xFZLQsOc OL5y516rQIIn3SFZ2V/nNyeZqOS5pYbzhgpyj5r5nPCpkFjKooGCHlDTcxV0cp3tlzjg hZhg3aUsPob3gcc1CoHcyjAov6uiqAl2QlpwLRzV82t7aZBpQfYV/AbXHadNeeduyw2o ZRU+mdmerE0XrX6aUUxN7hUSNXmOfjEaUE1qlW+6YKcqOdSl/Y+3IYWSSd4JDSdSo6PD wCoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=LS3mNP5rh0cyohlfYbqM3Rc3wVn2AwF+qI/MWFeAGuU=; b=kS3x5BdgciJBv8L/fT4tXXQ9iVDjUEhkfek9BGg96ldIE5QOZqVSh7UG7xZRqiF4Lg XIu7gz860xp7v6oheHFX8yVZNG8I+6dQkmKaywiQ26yen7KRlzSQhuCVzZDWvjQnjl1i bNImL2OLYQLodqeNcpWTGQhSYmDQi5DiR/J/ZveCxN80z6Olg7ubfxeoLUjgCQinyOhC dZKFRyN+MIqxxzv5EkE+dLqabR5367DO4Bws8kzmqgacoHjzB1pqmuunKLItWBo3aWqK wNH4hpIuCP7W3UoQO2V9Nmb+lUZ0AAlGbrRzmf4VKLD9xlQ82kdLU7aWMKopjUrSBF/0 nzZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b13-20020a170903228d00b00153b2d164edsi13344462plh.245.2022.05.09.03.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 03:19:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 99658C17; Mon, 9 May 2022 02:56:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234250AbiEIGbA (ORCPT + 99 others); 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: 8bit 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 We get one error when building module with processor.h: ./arch/arm64/include/asm/processor.h:263:36: error: implicit declaration of function ‘task_stack_page’; ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1) ./arch/arm64/include/asm/processor.h:266:42: note: in expansion of macro ‘task_pt_regs’ #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 --- 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/processor.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 -- 2.25.1