| 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" | 
| 11 | SYM_FUNC_START(native_save_fl) | 
| 12 | ENDBR | 
| 13 | pushf | 
| 14 | pop %_ASM_AX | 
| 15 | RET | 
| 16 | SYM_FUNC_END(native_save_fl) | 
| 17 | .popsection | 
| 18 | EXPORT_SYMBOL(native_save_fl) | 
| 19 | 
