Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250391
b: refs/heads/master
c: 1b4ac2a
h: refs/heads/master
i:
  250389: e1e9d63
  250387: 54cafa9
  250383: 25d8266
v: v3
  • Loading branch information
Richard Weinberger authored and Thomas Gleixner committed May 24, 2011
1 parent df6dc57 commit 1555e67
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a3679078aed2c451ebc32836bbd3b8219a65e01
refs/heads/master: 1b4ac2a935aaf194241a2f4165d6407ba9650e1a
5 changes: 0 additions & 5 deletions trunk/arch/x86/include/asm/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@

#ifdef CONFIG_X86_32
#define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
/*
* For 32-bit UML - mark functions implemented in assembly that use
* regparm input parameters:
*/
#define asmregparm __attribute__((regparm(3)))

/*
* Make sure the compiler doesn't do anything stupid with the
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
* We must return the syscall number to actually look up in the table.
* This can be -1L to skip running any syscall at all.
*/
asmregparm long syscall_trace_enter(struct pt_regs *regs)
long syscall_trace_enter(struct pt_regs *regs)
{
long ret = 0;

Expand Down Expand Up @@ -1408,7 +1408,7 @@ asmregparm long syscall_trace_enter(struct pt_regs *regs)
return ret ?: regs->orig_ax;
}

asmregparm void syscall_trace_leave(struct pt_regs *regs)
void syscall_trace_leave(struct pt_regs *regs)
{
bool step;

Expand Down
4 changes: 0 additions & 4 deletions trunk/include/linux/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
#define asmlinkage CPP_ASMLINKAGE
#endif

#ifndef asmregparm
# define asmregparm
#endif

#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
#define __page_aligned_bss __section(.bss..page_aligned) __aligned(PAGE_SIZE)

Expand Down

0 comments on commit 1555e67

Please sign in to comment.