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 | */ |
Jiri Slaby | 6dcc562 | 2019-10-11 13:51:04 +0200 | [diff] [blame] | 10 | SYM_FUNC_START(native_save_fl) |
Nick Desaulniers | d0a8d93 | 2018-06-21 09:23:24 -0700 | [diff] [blame] | 11 | pushf |
| 12 | pop %_ASM_AX |
| 13 | ret |
Jiri Slaby | 6dcc562 | 2019-10-11 13:51:04 +0200 | [diff] [blame] | 14 | SYM_FUNC_END(native_save_fl) |
Nick Desaulniers | d0a8d93 | 2018-06-21 09:23:24 -0700 | [diff] [blame] | 15 | EXPORT_SYMBOL(native_save_fl) |