Commit c3e6ff87 authored by Harvey Harrison's avatar Harvey Harrison Committed by Ingo Molnar

x86: regparm(3) is mandatory, no need to annotate

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 9902a702
...@@ -1456,7 +1456,6 @@ void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code) ...@@ -1456,7 +1456,6 @@ void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code)
/* notification of system call entry/exit /* notification of system call entry/exit
* - triggered by current->work.syscall_trace * - triggered by current->work.syscall_trace
*/ */
__attribute__((regparm(3)))
int do_syscall_trace(struct pt_regs *regs, int entryexit) int do_syscall_trace(struct pt_regs *regs, int entryexit)
{ {
int is_sysemu = test_thread_flag(TIF_SYSCALL_EMU); int is_sysemu = test_thread_flag(TIF_SYSCALL_EMU);
......
...@@ -654,7 +654,6 @@ static void do_signal(struct pt_regs *regs) ...@@ -654,7 +654,6 @@ static void do_signal(struct pt_regs *regs)
* notification of userspace execution resumption * notification of userspace execution resumption
* - triggered by the TIF_WORK_MASK flags * - triggered by the TIF_WORK_MASK flags
*/ */
__attribute__((regparm(3)))
void do_notify_resume(struct pt_regs *regs, void *_unused, void do_notify_resume(struct pt_regs *regs, void *_unused,
__u32 thread_info_flags) __u32 thread_info_flags)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment