diff options
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/alternative.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index 27a35b689180..634bf782dca5 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h | |||
@@ -160,6 +160,8 @@ static inline void apply_paravirt(struct paravirt_patch_site *start, | |||
160 | #define __parainstructions_end NULL | 160 | #define __parainstructions_end NULL |
161 | #endif | 161 | #endif |
162 | 162 | ||
163 | extern void *text_poke_early(void *addr, const void *opcode, size_t len); | ||
164 | |||
163 | /* | 165 | /* |
164 | * Clear and restore the kernel write-protection flag on the local CPU. | 166 | * Clear and restore the kernel write-protection flag on the local CPU. |
165 | * Allows the kernel to edit read-only pages. | 167 | * Allows the kernel to edit read-only pages. |