Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1229106rdb; Wed, 20 Sep 2023 03:31:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6Z3sGrdj5DuWS4oMRVl5Jus0ld2282STGwBUGlWR+/kHNMEudpNGsiRa0T/VR2+wwncYU X-Received: by 2002:a05:6300:8088:b0:14c:6397:ac6e with SMTP id ap8-20020a056300808800b0014c6397ac6emr1802394pzc.23.1695205913697; Wed, 20 Sep 2023 03:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695205913; cv=none; d=google.com; s=arc-20160816; b=uEKQaElfbNAexSQWg239irnNwJBCSrKb3rx60+WA+iIqZ8nb4vzWF360lzyl1Uy/pj 4b+132YbUwgw5jcuRKG52/H/uHD5y4EqfJs4OH8ImjB+mtKywmkeb89IaDNVdOHyyiyV JyBFRJ1zpTpOn1FVJ3WGUQ8cfjD9cp2V4/TEZfosRC9YChl2bjbs2ZGatZRIWwsiFrF/ ZlK8JnMtNibIa/nqbyHk9OW8eRoC96KkqmApUzuJ/THgVeCLsTbiUIt4ZLbipLatOdX4 3Z88rg25enOPd9EZqaYSXO5x5xPsdVIezP92k6HRGYIeAY9Xg+062y3/AIQMc50Lc3kr CLsQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kk6lZRO/t/J9IUZNk6Jb2vRh19MJNCWq1VrhGxnRYi8=; fh=6/+MrGEwXu3chX+JgIyVPR9luFinEXEbVHdRWlFWSv8=; b=pK/xypQE3unX114Cn+Vyr4bmb/aR5gJje8nY9Op53CNlk9HKmA0R2GUE8oUm1blV8l 9VLxgK7DvUrTAG1AEw+2uot1m7P+vSFI04CkqXvmdyv/syM9GDVRHJPLItKXZOAdZIp4 MHUkbNZsxwQiN61gYC2S3tdCosENScvTfkPvgKFtUfAPtSMd/YlJzTyvC9d2PZyAy2MH Uc7EldYecEAUa4CQzIJg1V9SefaOYvGTO9qwsfbd7Wz9KOntkFGmxquMtJFU8bGn/z9u rLMXRubhAw6ce4rykXZ4DFwXIAiN1QAIZyQsUnx6U+0NzQY7sIY16Xsq5+/u/DEDa1TI b88Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gIuisHB8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j3-20020a170903028300b001c430af53b8si9713148plr.574.2023.09.20.03.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:31:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gIuisHB8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 29E48828E08F; Tue, 19 Sep 2023 22:22:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232618AbjITFWO (ORCPT + 99 others); Wed, 20 Sep 2023 01:22:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232446AbjITFVu (ORCPT ); Wed, 20 Sep 2023 01:21:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C444E110 for ; Tue, 19 Sep 2023 22:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=kk6lZRO/t/J9IUZNk6Jb2vRh19MJNCWq1VrhGxnRYi8=; b=gIuisHB8CA3PMSlxEJHLzHsXqn K9TT1b2fTS35Y51d5hXTQl5kUvyCsHiWLpWymn00kdEeBQn79xhQPRktUY2dMy7bfz8tbQ/v4MUQ7 bAhptWXh/DI75Z8tKKEU5XE8yb7PvFVI+GJkVyCrW8WyddUuGkTvkgWCe2e3qZiAEQ7duYoO/ZmOf NXQHhcWQvGsVLPKJhZ92iCesGBhbKIQF65DSfpzFBBxvHIbJ+S9Jlj/1SqKpIY4QM6K3gMa5IiC52 5049TX/Zl7t2x3bxvzU+FI/1zx0M+kFoxBv1JD1PNL2EB5nNwySTEfk4US96J0avdQg/dKUTIdIzM mHd1dhlQ==; Received: from [2601:1c2:980:9ec0::9fed] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qipeh-001tym-1f; Wed, 20 Sep 2023 05:21:43 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Chris Zankel , Max Filippov Subject: [PATCH 05/16] xtensa: processor.h: add init_arch() prototype Date: Tue, 19 Sep 2023 22:21:28 -0700 Message-ID: <20230920052139.10570-6-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920052139.10570-1-rdunlap@infradead.org> References: <20230920052139.10570-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 22:22:59 -0700 (PDT) Add the prototype for init_arch() to asm/processor.h to prevent a build warning: arch/xtensa/kernel/setup.c:244:13: warning: no previous prototype for 'init_arch' [-Wmissing-prototypes] 244 | void __init init_arch(bp_tag_t *bp_start) Signed-off-by: Randy Dunlap Cc: Chris Zankel Cc: Max Filippov --- arch/xtensa/include/asm/processor.h | 4 ++++ 1 file changed, 4 insertions(+) diff -- a/arch/xtensa/include/asm/processor.h b/arch/xtensa/include/asm/processor.h --- a/arch/xtensa/include/asm/processor.h +++ b/arch/xtensa/include/asm/processor.h @@ -14,6 +14,8 @@ #include #include + +#include #include #include #include @@ -217,6 +219,8 @@ struct mm_struct; extern unsigned long __get_wchan(struct task_struct *p); +void init_arch(bp_tag_t *bp_start); + #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) #define KSTK_ESP(tsk) (task_pt_regs(tsk)->areg[1])