Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1096187pxb; Fri, 15 Apr 2022 21:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKMSGx5OXawShJYVGMftfo3FjPohHn5X2OtjCjvdoAzaJp6DSX18vEi2nb9aICo8bpvVRs X-Received: by 2002:a17:902:f608:b0:158:29e6:c88 with SMTP id n8-20020a170902f60800b0015829e60c88mr2064954plg.174.1650083198339; Fri, 15 Apr 2022 21:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650083198; cv=none; d=google.com; s=arc-20160816; b=gIV41rMZz7diADh+2zYtZ929c8wTFFFdzpTDGHQ4clVwnrpvr4liSPgHjOxxhEIvwh VhREzxdtOtjLRH93oUp3w5dnIB1I1VvLSG5LdqW0rPXi+eLP2grSO38S3mIqTGHAJDmi c/0UD0C7tTZXaUNJmuLZ4iMD4DcjTlzx6iIuAmEAQPAmwdpMe28XWwip1ZPBhPYAn0ol ARvEcqA3cI7dajEDcFAU52UyZLz31k4q2DVH6lDtELxDBzbOcjU6Oq606Q/7guSeJxQ+ oAZEgdMuqYxUIApU+PjkCgKwnwTKZuwQxTfzNWtCIy1Q7x9kyS6n4EJueZ6Pux8YeV9T zRjw== 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=KBVMtZkCYV32p1etltthkvwAoUXM8dM83npMiYgUh/w=; b=BUBasbxEozN1TKscG6ndFdSTtRECKAZmpV9+JZxAFaJ9KKJANQtnJH4RtNTMFzo5MP NsTbeVLOad8ymDBUexlG49cKp9Zx1w7lOrq8E1zxTBej2AjsWho/NRKQlZCj/SB3cjoP 8DKP0ntQ15bkADWqYHgE8WD8P7i1tjGJnSx0AxOJBhz3dNbNt5GvhdPVV/XyOcdMxC5g 84ORWnktuIevA2wkroWQcH+BWmiJdzbwQqTpzdjg5vbgQD1Tr8D1e/gotw/br7GrWpS8 XalruIQODVJNnIKzXSQBkDFiMLk8bQg1ipANiFvf2xnasX2cFLEaNKs1a3nxefElIq7j UGsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cqy6eRhc; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y5-20020a636405000000b00398e6cff5e0si3134234pgb.547.2022.04.15.21.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 21:26:38 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cqy6eRhc; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3398310FDE2; Fri, 15 Apr 2022 21:26:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbiDPE24 (ORCPT + 99 others); Sat, 16 Apr 2022 00:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbiDPE2u (ORCPT ); Sat, 16 Apr 2022 00:28:50 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C069C10E067 for ; Fri, 15 Apr 2022 21:26:20 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id c12so8473776plr.6 for ; Fri, 15 Apr 2022 21:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KBVMtZkCYV32p1etltthkvwAoUXM8dM83npMiYgUh/w=; b=cqy6eRhcdih66RqCTWjHb297/2SFSexwmd2okcLZgVZEEqaOnpUDO5AKVY+cUAxawo /oBVREYAyWGQolkfrsbFcRIYUxyTUEb0prVYzMBn0B5n/rB8mctUu+xTUwv5Co9Sw5oE 0zt4AV0+V8oWrFQ0cRSabQKe1dhgmS4poAH32TnZyn+wAki9bN9BJP70HcpMk4nKMyJu m9Rpi2gEe5Whqp2xziQEIzZFUaF6V+k4Q77O7z8/RGP2NhVgURHVcHxcMEjDdKOfuZf6 xCQDF5SR9PeCD7TfzyaCekaj6jR8x91kr1Y6iVx/CqXtW6fM85i0Yf8HWVkbZGxJZq6Y KS/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KBVMtZkCYV32p1etltthkvwAoUXM8dM83npMiYgUh/w=; b=0+jE2M10cO1H/8j/j+67wl9zbOTkNer8Rjbu00Dfmf02TLGmxBc89abQMe8c1/tsT5 IOf0oFlIJamztKem3yi2wip6T1Kd7gO628TtAtmxHBThhq1vSixhRL6nLQslk8Wu72KY 92+ZZxFpSHCQEsEeDZ6ivyBx9HPCvT+oqQ41FY69gp3gV3kQyw2P3Sbyw5/fbpMcacJB lZt+aDq2zVEP9bzKr/6qJkHSgSQ58sR1ti5mctGJmSYaQcXaC04lz0cFD+vpx8WPsru0 7hEMF+FkCgTxGan4/5O0Qoj65fKWHyrY99L/b0ozNH9banx3umnPo7N20kUSazGq4Twf EZzA== X-Gm-Message-State: AOAM5335d19974ltT+PJAxs9kN9mWR/Ff6nVii7xvXWDatZRjlf8jO+d 4L4DQ7XdBO+s2ikyyG7UMZ0= X-Received: by 2002:a17:90b:1b47:b0:1d0:fdb2:6fb with SMTP id nv7-20020a17090b1b4700b001d0fdb206fbmr2166841pjb.186.1650083180228; Fri, 15 Apr 2022 21:26:20 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:641:401:1d20:9b6:6aad:72f6:6e16]) by smtp.gmail.com with ESMTPSA id d8-20020aa78688000000b00505793566f7sm4258513pfo.211.2022.04.15.21.26.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 21:26:19 -0700 (PDT) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov Subject: [PATCH 2/6] xtensa: clean up declarations in coprocessor.h Date: Fri, 15 Apr 2022 21:25:55 -0700 Message-Id: <20220416042559.2035015-3-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220416042559.2035015-1-jcmvbkbc@gmail.com> References: <20220416042559.2035015-1-jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM, 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 Drop 'extern' from all function declarations. Add argument names in declarations. Signed-off-by: Max Filippov --- arch/xtensa/include/asm/coprocessor.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/xtensa/include/asm/coprocessor.h b/arch/xtensa/include/asm/coprocessor.h index 0fbe2a740b8d..a360efced7e7 100644 --- a/arch/xtensa/include/asm/coprocessor.h +++ b/arch/xtensa/include/asm/coprocessor.h @@ -143,10 +143,9 @@ typedef struct { XCHAL_CP7_SA_LIST(2) } xtregs_cp7_t __attribute__ ((aligned (XCHAL_CP7_SA_ALIGN))); extern struct thread_info* coprocessor_owner[XCHAL_CP_MAX]; -extern void coprocessor_flush(struct thread_info*, int); - -extern void coprocessor_release_all(struct thread_info*); -extern void coprocessor_flush_all(struct thread_info*); +void coprocessor_flush(struct thread_info *ti, int cp_index); +void coprocessor_release_all(struct thread_info *ti); +void coprocessor_flush_all(struct thread_info *ti); #endif /* XTENSA_HAVE_COPROCESSORS */ -- 2.30.2