diff options
author | Lai Jiangshan <jiangshan.ljs@antgroup.com> | 2024-04-07 17:05:55 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-04-09 09:57:56 +0200 |
commit | b767fe5de0b4a5057b070d8cdefdcf6740733d6e (patch) | |
tree | c334dbdae5bd6bd1747a5bb20cad89e5c7f7a593 /arch/x86/entry/thunk_32.S | |
parent | fec50db7033ea478773b159e0e2efb135270e3b7 (diff) |
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 <jiangshan.ljs@antgroup.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240407090558.3395-9-jiangshanlai@gmail.com
Diffstat (limited to 'arch/x86/entry/thunk_32.S')
-rw-r--r-- | arch/x86/entry/thunk_32.S | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/x86/entry/thunk_32.S b/arch/x86/entry/thunk_32.S deleted file mode 100644 index da37f42f4549..000000000000 --- a/arch/x86/entry/thunk_32.S +++ /dev/null @@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Trampoline to trace irqs off. (otherwise CALLER_ADDR1 might crash) - * Copyright 2008 by Steven Rostedt, Red Hat, Inc - * (inspired by Andi Kleen's thunk_64.S) - */ - -#include <linux/export.h> -#include <linux/linkage.h> -#include <asm/asm.h> - -#include "calling.h" - -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) - |