Message ID | 20230516193549.544673-5-arnd@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBEB7C77B7F for <linux-mm@archiver.kernel.org>; Tue, 16 May 2023 19:36:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 88D7E280004; Tue, 16 May 2023 15:36:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 83D0E280001; Tue, 16 May 2023 15:36:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 72C71280004; Tue, 16 May 2023 15:36:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 66024280001 for <linux-mm@kvack.org>; Tue, 16 May 2023 15:36:35 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 38E7C160396 for <linux-mm@kvack.org>; Tue, 16 May 2023 19:36:35 +0000 (UTC) X-FDA: 80797125150.15.6949607 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf01.hostedemail.com (Postfix) with ESMTP id 896F240002 for <linux-mm@kvack.org>; Tue, 16 May 2023 19:36:33 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=pMmYMmj6; spf=pass (imf01.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684265793; a=rsa-sha256; cv=none; b=JGQAke/mBZved0VU4XnALRisghhhv4tlAutkJTohpIAF4GVylf3S9/f6C6a7WaN+fsMyzF 3lg8Bfw16v9P8/Do+vqkybOi3O/zTlvvO0O6qtiZiIbYiqDUpBALa3Adlq00VVU8LNctYh G+61l/zrcGJoBHUM7w7h6VfiP02Pajw= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=pMmYMmj6; spf=pass (imf01.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684265793; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=BeXv+x7uHfmkKGK8f/rfd+LfyhvVJS/3CLNRCvaxQWI=; b=PDRzFrdrkzOPtmhsURKDuRGNJlToMmfYn1uNJFZh8uvgRY6GzbnXEfJCLhkcGJcYmSIINw czR8yAelZRFIRaPprHSmbJzwsIDN6gspbgL9R9+9d5F/DQj2W6IE1Aquk7kG7LTwuJHSjn 9ZkZ1sspm6XK5tnWUra6qoBsclvUn74= 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 9E97263E84; Tue, 16 May 2023 19:36:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DA1EC4339B; Tue, 16 May 2023 19:36:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684265792; bh=NCehg1lkd+BZGGfLe6zB+YpAMyX3wRQS6FlZqTExKsY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pMmYMmj61h1ryVXMWXgEPNi4c4GgRS8wGlxnCd9UxrJ05iwjecyfTOduY+WoqWZpO Cvm/AJCD+MXi+4Shut/6HQufiGCdANXUBd424+CiNufUW6Mt2CPMf2SX0Erut/1Yjz CZmpdbkHOQ1xlqE6pSRjeDiYME9avcj4NHsxu1xrpZ1j/RY+4x7QvymeScI7FPaZ6A 7vr/gZpCa3X1Nt6lxKZnO93JGkaChZ3M73Qb3fsEPkq2r9hKpfzvuhPaebh6V7v7p/ EnZrHT3z5U/r3Es9dGNnRROzYJFVNwRgJqycAOQQGvYgjBv9ea9EtDpGHUpfp80+kM +ZmQV+6dglcAw== From: Arnd Bergmann <arnd@kernel.org> To: x86@kernel.org Cc: Arnd Bergmann <arnd@arndb.de>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, "H. Peter Anvin" <hpa@zytor.com>, Andy Lutomirski <luto@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Masami Hiramatsu <mhiramat@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Juergen Gross <jgross@suse.com>, "Srivatsa S. Bhat (VMware)" <srivatsa@csail.mit.edu>, Alexey Makhalov <amakhalov@vmware.com>, VMware PV-Drivers Reviewers <pv-drivers@vmware.com>, Peter Zijlstra <peterz@infradead.org>, Darren Hart <dvhart@infradead.org>, Andy Shevchenko <andy@infradead.org>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, "Rafael J. Wysocki" <rafael@kernel.org>, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-pci@vger.kernel.org, platform-driver-x86@vger.kernel.org, xen-devel@lists.xenproject.org, linux-pm@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 04/20] x86: avoid unneeded __div64_32 function definition Date: Tue, 16 May 2023 21:35:33 +0200 Message-Id: <20230516193549.544673-5-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516193549.544673-1-arnd@kernel.org> References: <20230516193549.544673-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 896F240002 X-Stat-Signature: fib6wn8pcqh4pmca1r6icyc8zoxzzus6 X-HE-Tag: 1684265793-86803 X-HE-Meta: U2FsdGVkX1/EN4FngqzQeV05ipB2soG6XKnoDLz0G6MjIrqV1Gd0gArZfdSVQTk7moFTAQcbOM3jY8R5N0bTSkA1R8irsTxX/W+iNdGq6a7cVbLhB6pMK2qhkFsOU/5qCnDfH+q9T3gYBCtnLyVxqLJCFbKvxrgm5IhidsLtYdZmR9FgzTRtFNSmv+0TnW9lJ0IbtFMq3GuMOmVAWX7c4PTkFNTYmZX0FKwngk09OhekfeDVsGM5FZg9FqiFJdQlrZSCB4qEI7eiwW29ALSQVbLjCVgn0iieO8q2Suqgv2eOfX02I1CvfTDMiA382RWuLJhP/71yBTMSo4EpOK+DpyT2mViq2YrRAHA9tnJlK8JwUiZ/M5drP18lQLvigxQ5//0niwWUd+3vb2HVH67/khqQWjNJSWsqiS2xqeIzsRWGpd7KisWjggAYMeawlWtyNgDPPxqzJrYERohAmWOAlJcJANtnbZXtSf8R2qNC8AW8WtWLI+vTH/TXJQw8cgDqOnn9HGgsL0LXa2rtySYwDIFo7Tbv/qaU/m9BFEVavz2DOocWh806sFSXZRtaS2WxxIdyre43ToccVVbBpSY0mkplXtCV8URkqHDj530kkBGGTge2+nAXeE0k8BrtixTVhgV1oUmsJuM90aianiU9HY8TDulhpUP58ywpAEBHnl/jj9MSOfv4shgb6uVLDHksQLCFybYHSfF7p0AhyPGvcTrCNrctROA4Zy+1VzBvVx19JvvRtWxQv/HM8ntwfS0zFmAjAbzWjP7LwiDQuCsgdYK9Z/sWuzElJKk+q8y9Gft6NDBXLjV5Iff05HzMZImDzBJyNu5vk86xNWMoRtl6G/F4yt1+gqNAma1uJ5SjgopSOA48VDtpjgMljx38N1Wa7ThlZWSBC07spHU2QCaDoc4cQ45I25Gft6VE+ZYATg+dZu+Gur7uX4TmFDJwRoRXXN4ZHtziXibhw081QE0 USWXpOFm pZjZ+AhEiA9g1NHBZ7IFyjueoat2BjDd7EEnBQOt0qRDMBC083HdRKu/53vQqUi+2RS+LThal1eRbAYd2arq5UGjans8d0gVTxys8ADwM6avkj7WqcLWYA44ure1sEhGyoUyWEDh0MaVPgjCKpjhKYVQCyIzDk+r85k1WwOs7T4LznvRiA/kPiXYRaNaXnVjO60PK0vpopQlYilkgKf2juODQpk+L+WQWUZ+K7Ex8YYJZfiiTHpL83HKDoVpLbnKCr3cbiapK4bgE8mKqHIyrCNnd+vQ8Z6ii4hexiXkU0KQr7MUSkVYAWenezUnOLvNMpH71AQPWSxxXOZU= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
x86: address -Wmissing-prototype warnings
|
expand
|
diff --git a/arch/x86/include/asm/div64.h b/arch/x86/include/asm/div64.h index b8f1dc0761e4..9826d5fc12e3 100644 --- a/arch/x86/include/asm/div64.h +++ b/arch/x86/include/asm/div64.h @@ -71,6 +71,8 @@ static inline u64 mul_u32_u32(u32 a, u32 b) } #define mul_u32_u32 mul_u32_u32 +#define __div64_32 /* not needed */ + #else # include <asm-generic/div64.h>