]> err.no Git - linux-2.6/commitdiff
x86: regparm(3) is mandatory, no need to annotate
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 8 Feb 2008 20:09:57 +0000 (12:09 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:45 +0000 (17:40 +0200)
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>
arch/x86/kernel/ptrace.c
arch/x86/kernel/signal_32.c

index eb92ccbb35026c0d12c26391067df1071536f685..559c1b027417f66823d8f214b45c61f31bbb77f1 100644 (file)
@@ -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);
index b1e97e80a57c809c48734a5a7a9076cdba72f787..a393e3711e08dae115db00ed9478ef172fe7a38d 100644 (file)
@@ -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)
 {