irqflags.S 319 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #include <asm/asm.h>
  3. #include <asm/export.h>
  4. #include <linux/linkage.h>
  5. /*
  6. * unsigned long native_save_fl(void)
  7. */
  8. .pushsection .noinstr.text, "ax"
  9. SYM_FUNC_START(native_save_fl)
  10. pushf
  11. pop %_ASM_AX
  12. RET
  13. SYM_FUNC_END(native_save_fl)
  14. .popsection
  15. EXPORT_SYMBOL(native_save_fl)