Nick Desaulniers | d0a8d93 | 2018-06-21 09:23:24 -0700 | [diff] [blame] | 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 | */ |
Peter Zijlstra | 20125c8 | 2021-06-24 11:41:17 +0200 | [diff] [blame] | 10 | .pushsection .noinstr.text, "ax" |
Jiri Slaby | 6dcc562 | 2019-10-11 13:51:04 +0200 | [diff] [blame] | 11 | SYM_FUNC_START(native_save_fl) |
Nick Desaulniers | d0a8d93 | 2018-06-21 09:23:24 -0700 | [diff] [blame] | 12 | pushf |
| 13 | pop %_ASM_AX |
| 14 | ret |
Jiri Slaby | 6dcc562 | 2019-10-11 13:51:04 +0200 | [diff] [blame] | 15 | SYM_FUNC_END(native_save_fl) |
Peter Zijlstra | 20125c8 | 2021-06-24 11:41:17 +0200 | [diff] [blame] | 16 | .popsection |
Nick Desaulniers | d0a8d93 | 2018-06-21 09:23:24 -0700 | [diff] [blame] | 17 | EXPORT_SYMBOL(native_save_fl) |