Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp927992rwd; Tue, 16 May 2023 09:21:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Pfx7ftfy2qu2m3iIllnHoFUH3ZEZKp+qKIUR5cGvYjX455KxSPQAme8CuGrkg+oDF028A X-Received: by 2002:a17:903:2452:b0:1ad:bc86:851 with SMTP id l18-20020a170903245200b001adbc860851mr28586744pls.45.1684254102630; Tue, 16 May 2023 09:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684254102; cv=none; d=google.com; s=arc-20160816; b=BMABwTmba3HG5E/lSjpN3gmVXdvbUourMlOnA5V60TtALMnwksQ1m7vuf75rEWF4EC qmDGZll7LBYfwtQ10Jz3MAEuzAHd+Mpx/7K3Wtv9ogl/bE9NNJMsvv8Q3AOfeYB7E6US jaXJoFXD+f66sskGgva+f4KbLCY0h5tWAye7Vebz1lJiUnD2LOtT/DbUKk+1nOtnkZKG D5C89OmgD3KkwCg5GXq6IdfP0hbVG1y874wDdFmZ9c79A9Ju48J5Nh/UhAD/XNGKidTz hNksjSV5JR90zrOFtbL5L5+FbmSbR2aXjfroZIQyPY0Y4H75xSeuQou3dR3V9rRVGRxv bm2Q== 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=4tQMOwPygzfdn1atydFKSek1cSUxq5Kpcptkuq81d2c=; b=i2zeJYWIr9bC1KfPgfF8RJwJ5ZchsEldTeQnZHNfbOjl/PDOICqKR5ZeDxBIWSZl9q WzwXovqZzRMJ4fnFmj1mWxqmSttUW9GKroa+IdXNzVBtIKvgc/WGNTq7XBWhU3xkFI3c tibfkBGpe2S6WgfIvHONtorQ+6o0wJP61M4zjN9xDW2lV3soRiMPQaGdIMDUdZiPON68 9CrRgwJ9faKuEt18j6N7Nf8SuPw8HvQ9cjd2a++4VaUA1kpsbNEVm/qnpyfVMbt1PVce tcT1ar8/Vgqb9BW/O7pxNqsUI41zU5h0QdFeLRmRvSYJyC8G8WPaYxrp2L68xdSDbK8e Ue/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TjYro4Jx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a17090332c600b001a989e412bbsi20469152plr.514.2023.05.16.09.21.28; Tue, 16 May 2023 09:21: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=TjYro4Jx; 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 S234486AbjEPPuG (ORCPT + 99 others); Tue, 16 May 2023 11:50:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234362AbjEPPtT (ORCPT ); Tue, 16 May 2023 11:49:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6DEF903B; Tue, 16 May 2023 08:48:19 -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 BAE1B63BA0; Tue, 16 May 2023 15:47:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC25EC433A4; Tue, 16 May 2023 15:47:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684252024; bh=ukkcZIi3rJQFXBZ+gAriRZey/Vj4dRVkg8uSR9+fmpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TjYro4Jxqr2dc8uNfkbZR0YX17V/6dDi6Z2CqqKR6hDNo8Z/9tATqiR/kGvB/zI7L AC/NrRNyUUeR5MCHYu+8OKvpBW2ic6tGVm98MAOEgi+JJ2B3mHUHv8IwdgasHvPtet z0zGjoC/wdgfpqjgfgBV+X+UrHIrkvjwD4tL1KFgwGvVYp10z8VsW/C21iYUj3RdQI 4+4iIMxm2jxDWTfPMmT7VuVQHoaeJTHHxn2vdg0tsuczx5LjPUZzJTQkKT74dOXRwP uhvWYhhj53dwW9OVJz1Vgp/0T6HFI9pWOpCC8CKtMIpd6FyVBv+lP56JnslHxHVBiX ZDLfw0lhn13bA== From: Arnd Bergmann To: Russell King Cc: Arnd Bergmann , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Oleg Nesterov , "Rafael J. Wysocki" , Pavel Machek , Linus Walleij , Ard Biesheuvel , Kees Cook , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 13/16] ARM: vfp: add vfp_entry prototype Date: Tue, 16 May 2023 17:46:02 +0200 Message-Id: <20230516154605.517690-14-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516154605.517690-1-arnd@kernel.org> References: <20230516154605.517690-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Arnd Bergmann vfp_entry is only called from assembler code, so it does not need a declaration. Since gcc complains when extra warnings are enabled, add one anyway to avoid: arch/arm/vfp/vfpmodule.c:657:17: warning: no previous prototype for function 'vfp_entry' [-Wmissing-prototypes] Signed-off-by: Arnd Bergmann --- arch/arm/vfp/vfp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/vfp/vfp.h b/arch/arm/vfp/vfp.h index 5cd6d5053271..10d9c0da0fd4 100644 --- a/arch/arm/vfp/vfp.h +++ b/arch/arm/vfp/vfp.h @@ -375,3 +375,6 @@ struct op { }; asmlinkage void vfp_save_state(void *location, u32 fpexc); +struct thread_info; +asmlinkage void vfp_entry(u32 trigger, struct thread_info *ti, u32 resume_pc, + u32 resume_return_address); -- 2.39.2