Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp876984pxb; Fri, 22 Apr 2022 13:14:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/ZRAwMGuPDUMogCCy81VciQNF1VDyr0ZeLqiJVRfSn28kRT0Hx+ThGZuxwsnVi375xYla X-Received: by 2002:a63:164f:0:b0:3a2:ced0:3327 with SMTP id 15-20020a63164f000000b003a2ced03327mr5257140pgw.425.1650658441269; Fri, 22 Apr 2022 13:14:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650658441; cv=none; d=google.com; s=arc-20160816; b=DNJYR1l7m63d3ZxUDOkHXZhERmoS4mdWCT2vRcjqYG7jwK3e5+GQCFnQOeZhQrVSPm dkceF6kePSMRVTXG8Rx9pCJ9si/S8xcyhCGEa1B2otUjmddSJxlNmsJCKgbKVkB/8QhE 6N2B97zC0BuPhdi6rgItXL76kObZGZcTJw/ynFCBjKKPnQsL0zhxP6fN8YMiB9s2i4H4 38yZ+hfb9+++49iRozWyksY/d5TIPrht1qNZcxEpoYYz98ZIi2vbHwGC8Fs+GW19wbg0 Zehh0Yl8bYnMNq5nfh/2uGqmFt4PHPSgySJCCDSAXhW0W8Xtl2sWfESmjQBy/USnV5I4 fxrw== 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=B7FHzMluexVIsqE1V6kW5pfW6b+ReTL+xQGzEDyIhFU=; b=SjpgkqJYPb81erLH0p605to1goxoEPpjLIse1FBRgeILcv/P342SeVvDpq0IbOSJ6b y5wnvVuHKvSMsEEXmF6a4Zof3z/l4FPuPKym4EVNQ+Gb7tc+QtZHwD7k1n6a+WXIjKAO FalNMQXf4rBgaqChRTzufk0h0DIEbhjvyC/jFem5ugBEQ6fNK3fL2QPwSLux0c8/YpOH 9Tgfr3w1G5HK5q6nDrbXy9oOMD4s9lK0qPKeKf1J96plQNI5W/nBinsF5YcvwVnRrN2K tTFsFH9rTafhTUaxzZgLdJ5vjNuKyIT5v5W2DTRIHXpXVS4p2f04AqgFf6EKC0kVZxNn hO8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kjChlxe8; 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 lw4-20020a17090b180400b001d26441f92asi10223929pjb.33.2022.04.22.13.14.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:14:01 -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=kjChlxe8; 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 617031B2BC3; Fri, 22 Apr 2022 12:15:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388172AbiDUKOK (ORCPT + 99 others); Thu, 21 Apr 2022 06:14:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388111AbiDUKNs (ORCPT ); Thu, 21 Apr 2022 06:13:48 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585E1F6B for ; Thu, 21 Apr 2022 03:10:59 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id q1so3227156plx.13 for ; Thu, 21 Apr 2022 03:10:59 -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=B7FHzMluexVIsqE1V6kW5pfW6b+ReTL+xQGzEDyIhFU=; b=kjChlxe8VgxE69b7ApaQ9rh9eBMJrVErU/WvoNjea/mBJgU00BBPN84LnSuKDz6tV2 cfBdsrBP1RSkgl0uOoTOX5kdSp99GZN60D1zCdqE38rT7q/DHSjgYD6S4PTnKIiiw9mF mIc/+nhe/SYvf2LSYs2f8ea8h2pmoyX5g8g21KtUgcRTwE+UIS/xTr+DBgOuuxj3OigW cmrDVt5aPS4pRvphKSwnYdOqbE9ZzY+dvyeurA0+iYqKOb1JjOth3DHYyCLJvwqCFVkR ZuE/o/MGJEYlzxBWt0mlxypekFk5w2yXD/oulg4/Ea1dLZ+87PiWKYsWD76/oANz97gP t2wg== 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=B7FHzMluexVIsqE1V6kW5pfW6b+ReTL+xQGzEDyIhFU=; b=fdHeTzQNPZRZzlE5Hu3/0RFQu3rAR8uMLAPgUEgArkmCzNmxspviN9gIFOzfqQAroA y/DYErkl1U5x6btzoFLO7SKFsIXv2jMqZAVll7uR478GCh1L5RYXS/ohWdLvmhSrFqAT BxuUDlS0ui2mS8gP+uaVkPWRx4uaQzLF6FkDRnhjrEZC+RYnyfnd2jrib3B8L52Gfv3v RHE3YJfuEaX54/pVDzFwTvnExTudHUlVsI8+QgGguELcmnjCb5iUp88JyKBjRzbtHolb ADDkBs0Twc7Hmst2O4PWtSxkehsJrsCyR8J1pcMuKkmuJ3/8pCOqxrDtJo9lnf4Ec4aG L2zw== X-Gm-Message-State: AOAM531zwIISC8oymXplOUPkpgELmDTwgAEZfwu/apqtAI/7ZwzTLZDh uWjLEUcSQjbqYLuETWA+q9s= X-Received: by 2002:a17:902:6ac7:b0:150:24d6:b2ee with SMTP id i7-20020a1709026ac700b0015024d6b2eemr24843852plt.168.1650535858700; Thu, 21 Apr 2022 03:10:58 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:641:401:1d20:df13:3d47:8c92:6576]) by smtp.gmail.com with ESMTPSA id w196-20020a6282cd000000b0050ada022940sm2407806pfd.183.2022.04.21.03.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 03:10:58 -0700 (PDT) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov Subject: [PATCH v2 03/10] xtensa: clean up declarations in coprocessor.h Date: Thu, 21 Apr 2022 03:10:26 -0700 Message-Id: <20220421101033.216394-4-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220421101033.216394-1-jcmvbkbc@gmail.com> References: <20220421101033.216394-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 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 parameter 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