asm.h (1ebfc603d046f1dda6507d11803f9b4046cee712) asm.h (f5caf621ee357279e759c0911daf6d55c7d36f03)
1#ifndef _ASM_X86_ASM_H
2#define _ASM_X86_ASM_H
3
4#ifdef __ASSEMBLY__
5# define __ASM_FORM(x) x
6# define __ASM_FORM_RAW(x) x
7# define __ASM_FORM_COMMA(x) x,
8#else

--- 118 unchanged lines hidden (view full) ---

127 _ASM_EXTABLE_HANDLE(from, to, ex_handler_ext)
128
129# define _ASM_EXTABLE_REFCOUNT(from, to) \
130 _ASM_EXTABLE_HANDLE(from, to, ex_handler_refcount)
131
132/* For C file, we already have NOKPROBE_SYMBOL macro */
133#endif
134
1#ifndef _ASM_X86_ASM_H
2#define _ASM_X86_ASM_H
3
4#ifdef __ASSEMBLY__
5# define __ASM_FORM(x) x
6# define __ASM_FORM_RAW(x) x
7# define __ASM_FORM_COMMA(x) x,
8#else

--- 118 unchanged lines hidden (view full) ---

127 _ASM_EXTABLE_HANDLE(from, to, ex_handler_ext)
128
129# define _ASM_EXTABLE_REFCOUNT(from, to) \
130 _ASM_EXTABLE_HANDLE(from, to, ex_handler_refcount)
131
132/* For C file, we already have NOKPROBE_SYMBOL macro */
133#endif
134
135#ifndef __ASSEMBLY__
136/*
137 * This output constraint should be used for any inline asm which has a "call"
138 * instruction. Otherwise the asm may be inserted before the frame pointer
139 * gets set up by the containing function. If you forget to do this, objtool
140 * may print a "call without frame pointer save/setup" warning.
141 */
142register unsigned int __asm_call_sp asm("esp");
143#define ASM_CALL_CONSTRAINT "+r" (__asm_call_sp)
144#endif
145
135#endif /* _ASM_X86_ASM_H */
146#endif /* _ASM_X86_ASM_H */