git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/alternative: Use .ibt_endbr_seal to seal indirect calls
[sfrench/cifs-2.6.git]
/
arch
/
x86
/
include
/
asm
/
alternative.h
diff --git
a/arch/x86/include/asm/alternative.h
b/arch/x86/include/asm/alternative.h
index 58eee640283254f367eb3f15f3dc63b2d5a04c29..9b10c8c76087aabe701c7908d760710b53e181ed 100644
(file)
--- a/
arch/x86/include/asm/alternative.h
+++ b/
arch/x86/include/asm/alternative.h
@@
-76,6
+76,7
@@
extern int alternatives_patched;
extern void alternative_instructions(void);
extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
extern void apply_retpolines(s32 *start, s32 *end);
+extern void apply_ibt_endbr(s32 *start, s32 *end);
struct module;