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