mirror of https://gitee.com/openkylin/linux.git
x86/entry: Remove the unused LOCKDEP_SYSEXIT cruft
No users left since two years due to commit 21d375b6b3
("x86/entry/64:
Remove the SYSCALL64 fast path")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200505134059.061301403@linutronix.de
This commit is contained in:
parent
725005897e
commit
44d7e4fbc0
|
@ -42,10 +42,6 @@ SYM_FUNC_END(\name)
|
||||||
THUNK trace_hardirqs_off_thunk,trace_hardirqs_off_caller,1
|
THUNK trace_hardirqs_off_thunk,trace_hardirqs_off_caller,1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_LOCK_ALLOC
|
|
||||||
THUNK lockdep_sys_exit_thunk,lockdep_sys_exit
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_PREEMPTION
|
#ifdef CONFIG_PREEMPTION
|
||||||
THUNK preempt_schedule_thunk, preempt_schedule
|
THUNK preempt_schedule_thunk, preempt_schedule
|
||||||
THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace
|
THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace
|
||||||
|
@ -54,7 +50,6 @@ SYM_FUNC_END(\name)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_TRACE_IRQFLAGS) \
|
#if defined(CONFIG_TRACE_IRQFLAGS) \
|
||||||
|| defined(CONFIG_DEBUG_LOCK_ALLOC) \
|
|
||||||
|| defined(CONFIG_PREEMPTION)
|
|| defined(CONFIG_PREEMPTION)
|
||||||
SYM_CODE_START_LOCAL_NOALIGN(.L_restore)
|
SYM_CODE_START_LOCAL_NOALIGN(.L_restore)
|
||||||
popq %r11
|
popq %r11
|
||||||
|
|
|
@ -180,30 +180,6 @@ static inline int arch_irqs_disabled(void)
|
||||||
# define TRACE_IRQS_ON
|
# define TRACE_IRQS_ON
|
||||||
# define TRACE_IRQS_OFF
|
# define TRACE_IRQS_OFF
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_DEBUG_LOCK_ALLOC
|
|
||||||
# ifdef CONFIG_X86_64
|
|
||||||
# define LOCKDEP_SYS_EXIT call lockdep_sys_exit_thunk
|
|
||||||
# define LOCKDEP_SYS_EXIT_IRQ \
|
|
||||||
TRACE_IRQS_ON; \
|
|
||||||
sti; \
|
|
||||||
call lockdep_sys_exit_thunk; \
|
|
||||||
cli; \
|
|
||||||
TRACE_IRQS_OFF;
|
|
||||||
# else
|
|
||||||
# define LOCKDEP_SYS_EXIT \
|
|
||||||
pushl %eax; \
|
|
||||||
pushl %ecx; \
|
|
||||||
pushl %edx; \
|
|
||||||
call lockdep_sys_exit; \
|
|
||||||
popl %edx; \
|
|
||||||
popl %ecx; \
|
|
||||||
popl %eax;
|
|
||||||
# define LOCKDEP_SYS_EXIT_IRQ
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
# define LOCKDEP_SYS_EXIT
|
|
||||||
# define LOCKDEP_SYS_EXIT_IRQ
|
|
||||||
#endif
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue