From patchwork Wed Mar 22 04:00:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Poimboeuf X-Patchwork-Id: 73182 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2152830wrt; Tue, 21 Mar 2023 21:18:42 -0700 (PDT) X-Google-Smtp-Source: AK7set9UybheZeswDEjNcxaUv4uUtwFoM0LkEfQzOTiXc7qpEqvO+Sbcyt5UMoGkE5G8U+U/r328 X-Received: by 2002:a17:906:c185:b0:92b:846d:8928 with SMTP id g5-20020a170906c18500b0092b846d8928mr5362874ejz.65.1679458722745; Tue, 21 Mar 2023 21:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679458722; cv=none; d=google.com; s=arc-20160816; b=NCv4VmFXQ+axgWcJ994qObTKvrh9N8NlQfPEq2ZxLPO7xH0GsyVmcKFdoeLP6yjBVf aVf0u59/ZD8JcU2UwIRln/WfwJoxjsDJAuVpzM6MWu294eSutethORPZMeDnqa60P0Zl QE0yMPhZs+i4yVI4RxfZt1yX0o1/4dLz02YhrFzMsoRtmRxzynm1dRBJgdgi0k2/a5ON ocrN5M7goBM2s5tO+dta10wkvcH8XaQ5ceG0miYynSwQMciqoWZ6AM+UHSv9jdJUHaKA MexPdRc3TzbpCZCphJgxRd66Rbt9nUuWD7zA+9JgQ43SCyUCM5hHBDBublzN+zxTV9b4 ve+w== 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=5VBWmcRvucazzJBJnnh1A2n4CH2R5QhY3ZwOBcfJlrU=; b=RhNo8KZmEVBFwL3c5aCodQ3d9BL0HvApfnqTXifKNMVHC9d+ISVaaBvqULIyVY9+5G tQHEFyuJYyomEAPy++TRlIrTIHrlPXQ5v/x7E+RtU3wnr1Zhhs+aDtOzz+GhO9abLWd+ bapigz+A0Mk9OeEQDAjeXFPMWlBtxowe2WpFSWDZgq2qJZzl0D+W7mtr4HWl19FM1BMN V4jaIAzYM4EdlALrr50aCY3rzkBGuDQPKnNvxSlSEwb7uKnK+6UOxDIRiYLelImoZIlu Wn+yWc+pZw+4XfMqEhjvvDIhVuSDMF7LUt7toTIv8Vy9lg7eHQtnnu9cfrTCuVa+R4xb 4PJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRtffnoa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c24-20020a170906341800b0092ce46fd9b3si15445531ejb.998.2023.03.21.21.18.18; Tue, 21 Mar 2023 21:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRtffnoa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbjCVEAj (ORCPT + 99 others); Wed, 22 Mar 2023 00:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230257AbjCVEA0 (ORCPT ); Wed, 22 Mar 2023 00:00:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CD5747403 for ; Tue, 21 Mar 2023 21:00:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C52D661ED7 for ; Wed, 22 Mar 2023 04:00:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A3F8C433A1; Wed, 22 Mar 2023 04:00:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679457624; bh=QIV/cEnEzL7WBeJCOmt5xLvQJhUqQpKK+8+VlbgRk9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DRtffnoaIadl3zDBIZesmRxjD8edsN+2yBdx/qEFRedOIbG7vm/wd/vaCVGYRbtuS KARPX0xGOhlinI3MIcmkd9iZKFfObhdEV5pfqyCBQHxxodGVjUQZxPULLhFNSK0BB8 dN2kTQnEIxwZJpK+JQwQkBJ8r9JjwhONwgtwcfvgMADbYf5zqA648zN8nqQKdEu6MW AEuKrDTswZ3El4E/2xyPbz8OLnckHqjSPIzzzrewTNqnv7ufpWcxq2YCAx3UlQ0CHW xvcTDoEwZGVVhx0vCUBk7gbNix834HehgKGfPJuY1KQeYiqETcb6/Hopx2tuBY3vgO sioRJ9KUG1EyQ== From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Mark Rutland , Jason Baron , Steven Rostedt , Ard Biesheuvel , Christophe Leroy , Paolo Bonzini , Sean Christopherson , Sami Tolvanen , Nick Desaulniers , Will McVicker , Kees Cook , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 03/11] static_call: Remove static_call_mod_init() declaration Date: Tue, 21 Mar 2023 21:00:09 -0700 Message-Id: <3b07f3830d7e4e967cc9714dbf54b7391f35cf8b.1679456900.git.jpoimboe@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-type: text/plain X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761040109289602995?= X-GMAIL-MSGID: =?utf-8?q?1761040109289602995?= This function doesn't exist (and never did). Signed-off-by: Josh Poimboeuf --- include/linux/static_call.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/static_call.h b/include/linux/static_call.h index f984b8f6d974..890ddc0c3190 100644 --- a/include/linux/static_call.h +++ b/include/linux/static_call.h @@ -177,7 +177,6 @@ struct static_call_tramp_key { }; extern void __static_call_update(struct static_call_key *key, void *tramp, void *func); -extern int static_call_mod_init(struct module *mod); extern int static_call_text_reserved(void *start, void *end); extern long __static_call_return0(void);