linux/arch/x86/include/asm/asm-prototypes.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#include <asm/asm.h>
   3
   4#ifdef CONFIG_RETPOLINE
   5#ifdef CONFIG_X86_32
   6#define INDIRECT_THUNK(reg) extern asmlinkage void __x86_indirect_thunk_e ## reg(void);
   7#else
   8#define INDIRECT_THUNK(reg) extern asmlinkage void __x86_indirect_thunk_r ## reg(void);
   9INDIRECT_THUNK(8)
  10INDIRECT_THUNK(9)
  11INDIRECT_THUNK(10)
  12INDIRECT_THUNK(11)
  13INDIRECT_THUNK(12)
  14INDIRECT_THUNK(13)
  15INDIRECT_THUNK(14)
  16INDIRECT_THUNK(15)
  17#endif
  18INDIRECT_THUNK(ax)
  19INDIRECT_THUNK(bx)
  20INDIRECT_THUNK(cx)
  21INDIRECT_THUNK(dx)
  22INDIRECT_THUNK(si)
  23INDIRECT_THUNK(di)
  24INDIRECT_THUNK(bp)
  25#endif /* CONFIG_RETPOLINE */
  26