2021-10-27 18:46:41 +05: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)
|
|
|
|
*/
|
2022-03-05 21:17:59 +05:00
|
|
|
.pushsection .noinstr.text, "ax"
|
2021-10-27 18:46:41 +05:00
|
|
|
SYM_FUNC_START(native_save_fl)
|
|
|
|
pushf
|
|
|
|
pop %_ASM_AX
|
2022-03-05 21:17:59 +05:00
|
|
|
RET
|
2021-10-27 18:46:41 +05:00
|
|
|
SYM_FUNC_END(native_save_fl)
|
2022-03-05 21:17:59 +05:00
|
|
|
.popsection
|
2021-10-27 18:46:41 +05:00
|
|
|
EXPORT_SYMBOL(native_save_fl)
|