From nobody Mon Nov 25 09:34:23 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7540C204084; Mon, 28 Oct 2024 21:48:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730152114; cv=none; b=cvQKM5ifhWCkmQG498PdJnQMxSlYFR5gdt51fCe7QUcPSiXsYegZFFw2jiP98hw9kPmw80N2NMEkzjUvHInXDcWN1hjU8ajTiAkk0PapB+Yl4VSjDVKEynMFDlVq+bqYiYJoMWLMzBlnq7yVFCthl/W61few7jIIUGriH+UYfUc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730152114; c=relaxed/simple; bh=gpI5P01K7cWgBTfY/PtSLZYGYq/sI/onO0R36v3clI4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kY0BuNCG1cCYRTbH3BqjhONKZQ7ltiKW5/EOsJaIjmHXdmUdzjc9rdEiFaS7ZUsjwpvpstpX9mynvREQCu5R496BlTP79rV/cPBb7NV/5Y9qWeE5LUUJUDLOSGca0ZDsKUskQ/pqMzKsr1rxb4motLgpRoRGHIw/PvIPUW82TWM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S5j56e9E; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S5j56e9E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E3D4C4CEE7; Mon, 28 Oct 2024 21:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730152114; bh=gpI5P01K7cWgBTfY/PtSLZYGYq/sI/onO0R36v3clI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S5j56e9E9hdnjtAcvPjAjGQoXgH29Yx3KdsnMx05bDvHl5NCF1HbQg50orUvzpBTf U0cFcI0+e6yEge8tlae5nAtww0bFJgmAv4bm0uXBUxL4OjlW/v1KwkjrbmiSfgARnw nzbSbu2vAcUFFENLryrVS2+PZ/Ayx1/8/ZWkj11BfS9QYuaxlhuuy2GBDGn38FzADt NvrgSYa08lk24rMQkJ+2QmiB1nTKfPeCurd9/1NnfBDG5QOOsMNaPjcAB+WjliZFwO C2httQlBQM+Wg45tdCZU1C+zlIrKB8FwB1ul+B2vERSinPdmLt/lfqJemmFSWihQkK lV4JK3gYuWR+Q== From: Josh Poimboeuf To: x86@kernel.org Cc: Peter Zijlstra , Steven Rostedt , Ingo Molnar , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Indu Bhagat , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, Mark Brown , linux-toolchains@vger.kernel.org, Jordan Rome , Sam James , linux-trace-kernel@vger.kerne.org, Andrii Nakryiko , Jens Remus , Mathieu Desnoyers , Florian Weimer , Andy Lutomirski Subject: [PATCH v3 04/19] x86/vdso: Use SYM_FUNC_{START,END} in __kernel_vsyscall() Date: Mon, 28 Oct 2024 14:47:51 -0700 Message-ID: <3263d60b868f244d7624ad5223644a6bd8c7bc81.1730150953.git.jpoimboe@kernel.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID: <20241028214751.q7BLXAsIOAfwvXG5sqSRBNR8nx7XjN7ODL2Y1d7rPOE@z> Content-Type: text/plain; charset="utf-8" Use SYM_FUNC_{START,END} instead of all the boilerplate. No functional change. Signed-off-by: Josh Poimboeuf --- arch/x86/entry/vdso/vdso32/system_call.S | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/x86/entry/vdso/vdso32/system_call.S b/arch/x86/entry/vdso= /vdso32/system_call.S index d33c6513fd2c..bdc576548240 100644 --- a/arch/x86/entry/vdso/vdso32/system_call.S +++ b/arch/x86/entry/vdso/vdso32/system_call.S @@ -9,11 +9,7 @@ #include =20 .text - .globl __kernel_vsyscall - .type __kernel_vsyscall,@function - ALIGN -__kernel_vsyscall: - CFI_STARTPROC +SYM_FUNC_START(__kernel_vsyscall) /* * Reshuffle regs so that all of any of the entry instructions * will preserve enough state. @@ -79,7 +75,5 @@ SYM_INNER_LABEL(int80_landing_pad, SYM_L_GLOBAL) CFI_RESTORE ecx CFI_ADJUST_CFA_OFFSET -4 RET - CFI_ENDPROC - - .size __kernel_vsyscall,.-__kernel_vsyscall +SYM_FUNC_END(__kernel_vsyscall) .previous --=20 2.47.0