1 #include <linux/linkage.h>
2 #include <asm/dwarf2.h>
25 #define PUT(x) movq %rax,x*8(%rdi)
42 /* Some CPUs run faster using the string instructions.
43 It is also a lot simpler. Use this when possible */
45 #include <asm/cpufeature.h>
47 .section .altinstr_replacement,"ax"
48 1: .byte 0xeb /* jmp <disp8> */
49 .byte (clear_page_c - clear_page) - (2f - 1b) /* offset */
52 .section .altinstructions,"a"
56 .byte X86_FEATURE_REP_GOOD
57 .byte .Lclear_page_end - clear_page