From b767fe5de0b4a5057b070d8cdefdcf6740733d6e Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Sun, 7 Apr 2024 17:05:55 +0800 Subject: x86/entry: Merge thunk_64.S and thunk_32.S into thunk.S The code in thunk_64.S and thunk_32.S are exactly the same except for the comments. Merge them in to thunk.S. And since thunk_32.S was originated from thunk_64.S, the new merged thunk.S is actually renamed from thunk_64.S. Signed-off-by: Lai Jiangshan Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20240407090558.3395-9-jiangshanlai@gmail.com --- arch/x86/entry/thunk_64.S | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 arch/x86/entry/thunk_64.S (limited to 'arch/x86/entry/thunk_64.S') diff --git a/arch/x86/entry/thunk_64.S b/arch/x86/entry/thunk_64.S deleted file mode 100644 index 119ebdc3d362..000000000000 --- a/arch/x86/entry/thunk_64.S +++ /dev/null @@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Save registers before calling assembly functions. This avoids - * disturbance of register allocation in some inline assembly constructs. - * Copyright 2001,2002 by Andi Kleen, SuSE Labs. - */ -#include -#include -#include "calling.h" -#include - -THUNK preempt_schedule_thunk, preempt_schedule -THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace -EXPORT_SYMBOL(preempt_schedule_thunk) -EXPORT_SYMBOL(preempt_schedule_notrace_thunk) -- cgit v1.2.3