xref: /linux/arch/x86/kernel/irqflags.S (revision 53d143fe08c24c2ce44ee329e41c2a6aad57ebb5)
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#include <asm/asm.h>
4#include <asm/export.h>
5#include <linux/linkage.h>
6
7/*
8 * unsigned long native_save_fl(void)
9 */
10SYM_FUNC_START(native_save_fl)
11	pushf
12	pop %_ASM_AX
13	ret
14SYM_FUNC_END(native_save_fl)
15EXPORT_SYMBOL(native_save_fl)
16