Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70994
b: refs/heads/master
c: 92b2dc7
h: refs/heads/master
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Thomas Gleixner committed Oct 17, 2007
1 parent 901c7e6 commit ca046d8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 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: 9efa98159c8b4fd7373d03af9fc06d43f47de0f5
refs/heads/master: 92b2dc79c3bb3f08afae6c0feaeea593b9c83a76
5 changes: 1 addition & 4 deletions trunk/arch/x86/ia32/ia32_binfmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,8 @@ struct elf_prpsinfo
char pr_psargs[ELF_PRARGSZ]; /* initial part of arg list */
};

#define __STR(x) #x
#define STR(x) __STR(x)

#define _GET_SEG(x) \
({ __u32 seg; asm("movl %%" STR(x) ",%0" : "=r"(seg)); seg; })
({ __u32 seg; asm("movl %%" __stringify(x) ",%0" : "=r"(seg)); seg; })

/* Assumes current==process to be dumped */
#define ELF_CORE_COPY_REGS(pr_reg, regs) \
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-x86/hw_irq_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ extern atomic_t irq_mis_count;

#define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs))

#define __STR(x) #x
#define STR(x) __STR(x)

#include <asm/ptrace.h>

#define IRQ_NAME2(nr) nr##_interrupt(void)
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-x86/system_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

#ifdef __KERNEL__

#define __STR(x) #x
#define STR(x) __STR(x)

#define __SAVE(reg,offset) "movq %%" #reg ",(14-" #offset ")*8(%%rsp)\n\t"
#define __RESTORE(reg,offset) "movq (14-" #offset ")*8(%%rsp),%%" #reg "\n\t"

Expand Down

0 comments on commit ca046d8

Please sign in to comment.