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