Linux Audio

Check our new training course

Linux debugging, profiling, tracing and performance analysis training

Mar 24-27, 2025, special US time zones
Register
Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2
 3#include <asm/asm.h>
 4#include <linux/export.h>
 5#include <linux/linkage.h>
 6
 7/*
 8 * unsigned long native_save_fl(void)
 9 */
10.pushsection .noinstr.text, "ax"
11SYM_FUNC_START(native_save_fl)
12	pushf
13	pop %_ASM_AX
14	RET
15SYM_FUNC_END(native_save_fl)
16.popsection
17EXPORT_SYMBOL(native_save_fl)
v5.14.15
 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)