x86: Fix alternatives and kprobes to remap write-protected kernel text
[linux-2.6.git] / include / asm-x86_64 / alternative.h
index eea7aec..ab161e8 100644 (file)
@@ -154,4 +154,6 @@ apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end)
 #define __parainstructions_end NULL
 #endif
 
+extern void text_poke(void *addr, unsigned char *opcode, int len);
+
 #endif /* _X86_64_ALTERNATIVE_H */