Ver Fonte

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

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Harvey Harrison há 17 anos atrás
pai
commit
c3e6ff87a3
2 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 1
      arch/x86/kernel/ptrace.c
  2. 0 1
      arch/x86/kernel/signal_32.c

+ 0 - 1
arch/x86/kernel/ptrace.c

@@ -1456,7 +1456,6 @@ void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code)
 /* notification of system call entry/exit
  * - triggered by current->work.syscall_trace
  */
-__attribute__((regparm(3)))
 int do_syscall_trace(struct pt_regs *regs, int entryexit)
 {
 	int is_sysemu = test_thread_flag(TIF_SYSCALL_EMU);

+ 0 - 1
arch/x86/kernel/signal_32.c

@@ -654,7 +654,6 @@ static void do_signal(struct pt_regs *regs)
  * notification of userspace execution resumption
  * - triggered by the TIF_WORK_MASK flags
  */
-__attribute__((regparm(3)))
 void do_notify_resume(struct pt_regs *regs, void *_unused,
 		      __u32 thread_info_flags)
 {