diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-08 15:09:57 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:45 -0400 |
commit | c3e6ff87a3ad9124a67e149e4f9c080626a0d83e (patch) | |
tree | 4b0bb99547414d083b061f1be80ba6e7f1feaab5 /arch/x86/kernel | |
parent | 9902a702c76f904be0057f8647dda9d6f89d4847 (diff) |
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>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/ptrace.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/signal_32.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index eb92ccbb350..559c1b02741 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -1456,7 +1456,6 @@ void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code) | |||
1456 | /* notification of system call entry/exit | 1456 | /* notification of system call entry/exit |
1457 | * - triggered by current->work.syscall_trace | 1457 | * - triggered by current->work.syscall_trace |
1458 | */ | 1458 | */ |
1459 | __attribute__((regparm(3))) | ||
1460 | int do_syscall_trace(struct pt_regs *regs, int entryexit) | 1459 | int do_syscall_trace(struct pt_regs *regs, int entryexit) |
1461 | { | 1460 | { |
1462 | int is_sysemu = test_thread_flag(TIF_SYSCALL_EMU); | 1461 | int is_sysemu = test_thread_flag(TIF_SYSCALL_EMU); |
diff --git a/arch/x86/kernel/signal_32.c b/arch/x86/kernel/signal_32.c index b1e97e80a57..a393e3711e0 100644 --- a/arch/x86/kernel/signal_32.c +++ b/arch/x86/kernel/signal_32.c | |||
@@ -654,7 +654,6 @@ static void do_signal(struct pt_regs *regs) | |||
654 | * notification of userspace execution resumption | 654 | * notification of userspace execution resumption |
655 | * - triggered by the TIF_WORK_MASK flags | 655 | * - triggered by the TIF_WORK_MASK flags |
656 | */ | 656 | */ |
657 | __attribute__((regparm(3))) | ||
658 | void do_notify_resume(struct pt_regs *regs, void *_unused, | 657 | void do_notify_resume(struct pt_regs *regs, void *_unused, |
659 | __u32 thread_info_flags) | 658 | __u32 thread_info_flags) |
660 | { | 659 | { |