diff options
-rw-r--r-- | arch/x86/include/asm/asm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h index 219faaec51df..386a6900e206 100644 --- a/arch/x86/include/asm/asm.h +++ b/arch/x86/include/asm/asm.h | |||
@@ -136,6 +136,7 @@ | |||
136 | #endif | 136 | #endif |
137 | 137 | ||
138 | #ifndef __ASSEMBLY__ | 138 | #ifndef __ASSEMBLY__ |
139 | #ifndef __BPF__ | ||
139 | /* | 140 | /* |
140 | * This output constraint should be used for any inline asm which has a "call" | 141 | * This output constraint should be used for any inline asm which has a "call" |
141 | * instruction. Otherwise the asm may be inserted before the frame pointer | 142 | * instruction. Otherwise the asm may be inserted before the frame pointer |
@@ -145,5 +146,6 @@ | |||
145 | register unsigned long current_stack_pointer asm(_ASM_SP); | 146 | register unsigned long current_stack_pointer asm(_ASM_SP); |
146 | #define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer) | 147 | #define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer) |
147 | #endif | 148 | #endif |
149 | #endif | ||
148 | 150 | ||
149 | #endif /* _ASM_X86_ASM_H */ | 151 | #endif /* _ASM_X86_ASM_H */ |