From mboxrd@z Thu Jan 1 00:00:00 1970 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 3BFCA158520; Fri, 25 Apr 2025 02:38:26 +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=1745548706; cv=none; b=b5ST9f3gEJPzS0PB91RMgbK4hPcQ6rFDR6qOu+HHvUMpkC+xpzkTvDiBwbxDi27I5Pk4ndLpQYrYw+mBFyNOLQfnJAxmL/TPX5DZsGsrIrZP2QKzSUUiDR0OGbCEeSOMGYh95bIO6j53NlhPpMKpEdKoulGNyt2B0nDVrqFZAFQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745548706; c=relaxed/simple; bh=5Uhvh8HGrIx0ciAQYGLxRvRE7Ph0FW5SI4Y5OS4TRF4=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=TAmu2ML9lhc1nhJQiz1ye4bi6Z+bwL2l+ZKi4mNeQimB2WxQ39/ts7TKOS1TqqKaKkxzXlDbFZMtt+IikB0rtgDozHlSHdaAMBeAoGkSvaoIZ4EREvklFwIVdkDxM2XYBtCP5utYoaOIt6zebMYomP97KygUwfvHfPd0XJaw2D8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CFA8C4CEE8; Fri, 25 Apr 2025 02:38:26 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.98) (envelope-from ) id 1u88zG-0000000HC8P-46aH; Thu, 24 Apr 2025 22:40:22 -0400 Message-ID: <20250425024022.824085179@goodmis.org> User-Agent: quilt/0.68 Date: Thu, 24 Apr 2025 22:37:54 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Josh Poimboeuf , Jens Remus , x86@kernel.org, Peter Zijlstra , Ingo Molnar , Indu Bhagat , Andy Lutomirski , Thomas Gleixner , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Subject: [PATCH 4/6] x86/vdso: Use SYM_FUNC_{START,END} in __kernel_vsyscall() References: <20250425023750.669174660@goodmis.org> Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: Josh Poimboeuf Use SYM_FUNC_{START,END} instead of all the boilerplate. No functional change. Signed-off-by: Josh Poimboeuf Signed-off-by: Steven Rostedt (Google) --- 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 .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 -- 2.47.2