2026-01-21 18:59:54 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
|
|
|
|
|
#include <asm/asm.h>
|
|
|
|
|
#include <asm/export.h>
|
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* unsigned long native_save_fl(void)
|
|
|
|
|
*/
|
2026-01-29 22:25:33 +08:00
|
|
|
.pushsection .noinstr.text, "ax"
|
2026-01-21 18:59:54 +08:00
|
|
|
SYM_FUNC_START(native_save_fl)
|
|
|
|
|
pushf
|
|
|
|
|
pop %_ASM_AX
|
|
|
|
|
RET
|
|
|
|
|
SYM_FUNC_END(native_save_fl)
|
2026-01-29 22:25:33 +08:00
|
|
|
.popsection
|
2026-01-21 18:59:54 +08:00
|
|
|
EXPORT_SYMBOL(native_save_fl)
|