mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-16 10:54:09 +08:00
20125c872a
vmlinux.o: warning: objtool: pv_ops[30]: native_save_fl vmlinux.o: warning: objtool: pv_ops[30]: __raw_callee_save_xen_save_fl vmlinux.o: warning: objtool: pv_ops[30]: xen_save_fl_direct vmlinux.o: warning: objtool: lockdep_hardirqs_off()+0x73: call to pv_ops[30]() leaves .noinstr.text section Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20210624095148.749712274@infradead.org
18 lines
319 B
ArmAsm
18 lines
319 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#include <asm/asm.h>
|
|
#include <asm/export.h>
|
|
#include <linux/linkage.h>
|
|
|
|
/*
|
|
* unsigned long native_save_fl(void)
|
|
*/
|
|
.pushsection .noinstr.text, "ax"
|
|
SYM_FUNC_START(native_save_fl)
|
|
pushf
|
|
pop %_ASM_AX
|
|
ret
|
|
SYM_FUNC_END(native_save_fl)
|
|
.popsection
|
|
EXPORT_SYMBOL(native_save_fl)
|