1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * 64-bit assembly helpers for asm operations that lack support in both gcc and
4 * clang. For example, clang asm does not support segment prefixes.
6 .global dereference_seg_base
13 .global test_syscall_insn
15 .pushsection ".text", "ax"
17 test_page: .globl test_page
23 .ifne . - test_page - 4096
24 .error "test page is not one page long"
28 .section .note.GNU-stack,"",%progbits