Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3197545pxb; Sun, 7 Feb 2021 00:55:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+J5KAJGze+PUvVlDpQ30sWCDFCqIdgwwrvy/bofvDE8MnuNbDYczIAg/Q+Jngnxg2pE36 X-Received: by 2002:a17:906:3e96:: with SMTP id a22mr11853096ejj.144.1612688140488; Sun, 07 Feb 2021 00:55:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612688140; cv=none; d=google.com; s=arc-20160816; b=GWLw6EgWzNecfHzWrtfWHYkfIgN7hZaHRYl7b/VmY7cK/hzUHU4/gMg0gFNt5CHOaW cA07bM1+bplNXU8MjqIN9xjVsgrLuQdRxjp9yJSrrfI1tm+M3KECUBA51aD75svaItr+ CVrNF0Ov6ICLyEaXHmUzvALNkhURu3lUGSrqggNQVRadI7TAStlXEMGSdvhOdEhMlQjn RwdqafKYMCicjeK6j2crJqSSE4ONvCJE9sgYue8QaQh/ZIsKURak4FZueg9JkWVhcP3H LbqXBaruyN8VN6xCkn6O4jYFA8a3CrdEg6gyF6z8VdTa/v3iHqv5epBO6ixDlR20xxaC V5FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Kcvd8/U+9IOkvzdTRnWXi1WBrX4a7bAjT5zUKuqod5E=; b=HpQ99nstfvDpBd8jk74tfHkHqQm3BSNkJKO91+LDNfIZn2ALNq2SQQW7YNP3BJt052 DDEnZsbXxpAXtBFXC2hP/iqHNKYWJ3z2UoraQjDsHgFnU/6tbzmbsD/AepwONOppKdCu A1+72V99ozHXnU0QY/IlZFx4STA8O9v1ZEbMTH/JuxsdeXIR07b+zinF3U8NnyvYwBMi 3M5lCGI6aQRO2YcR/J3ITC9+WIGtr8JlIUN6Zyp1QGSv1zRF5tWn035GkogZEA3VoFz3 mpP8x3Kbqb7DoPfaeh0lzrighRXg7G6hKYV9RTRYKbptf8q61C9oHlDN55W9h5X9Da9+ mGdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si8850016edw.180.2021.02.07.00.55.16; Sun, 07 Feb 2021 00:55:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229623AbhBGIxu (ORCPT + 99 others); Sun, 7 Feb 2021 03:53:50 -0500 Received: from mail.loongson.cn ([114.242.206.163]:36060 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229522AbhBGIxt (ORCPT ); Sun, 7 Feb 2021 03:53:49 -0500 Received: from loongson.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx__JVqh9gVbQHAA--.9789S2; Sun, 07 Feb 2021 16:52:37 +0800 (CST) From: Jinyang He To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] MIPS: process: Fix no previous prototype warning Date: Sun, 7 Feb 2021 16:52:36 +0800 Message-Id: <1612687956-28075-1-git-send-email-hejinyang@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9Dx__JVqh9gVbQHAA--.9789S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Xr1xZFWrCFy3Ar48AFyrZwb_yoWDuwc_Cw 17Cw18W3s2yr4qvFy7Jan3Jwn0k34UGFyDuwn3Zr1YyasxAry5W393Aw1DJwn09r9aqF1r W3W5J3yUGwnI9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb7AYjsxI4VWkKwAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IE w4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r4j6F4UMc vjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCY02Avz4vE14v_GFyl42xK82IY c2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s 026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1Y6r17MIIYrxkI7VAKI48JMIIF 0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0x vE42xK8VAvwI8IcIk0rVW3JVWrJr1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280 aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU5RrW7UUUUU== X-CM-SenderInfo: pkhmx0p1dqwqxorr0wxvrqhubq/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org unwind_stack_by_address and unwind_stack need . arch_align_stack needs link: https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/ZPL2RRA6RZKRQZI5IGOVLFXN2GVZBN3L/ Fixes: ("MIPS: process: Remove unnecessary headers inclusion") Reported-by: kernel test robot Signed-off-by: Jinyang He --- arch/mips/kernel/process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 0c5bc06..2e591df 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +37,7 @@ #include #include #include +#include #ifdef CONFIG_HOTPLUG_CPU void arch_cpu_idle_dead(void) -- 2.1.0