ftrace/x86: Add save_regs for i386 function calls
[firefly-linux-kernel-4.4.55.git] / arch / x86 / include / asm / ftrace.h
index a8475014c4ad5ee070f8d0f4c477284788c88854..a6cae0c1720cdcd66f27724c0b8fd6a52a013c82 100644 (file)
 
 #ifdef CONFIG_DYNAMIC_FTRACE
 #define ARCH_SUPPORTS_FTRACE_OPS 1
-#ifdef CONFIG_X86_64
 #define ARCH_SUPPORTS_FTRACE_SAVE_REGS
 #endif
-#endif
 
 #ifndef __ASSEMBLY__
 extern void mcount(void);