Skip to content

Commit

Permalink
[PATCH] i386: No need to use -traditional for processing asm in i386/…
Browse files Browse the repository at this point in the history
…kernel/

No need to use -traditional for processing asm in i386/kernel/

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Jeremy Fitzhardinge authored and Andi Kleen committed May 2, 2007
1 parent 9964cf7 commit f76c392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions arch/i386/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ obj-$(CONFIG_VMI) += vmi.o vmitime.o
obj-$(CONFIG_PARAVIRT) += paravirt.o
obj-y += pcspeaker.o

EXTRA_AFLAGS := -traditional

obj-$(CONFIG_SCx200) += scx200.o

# vsyscall.o contains the vsyscall DSO images as __initdata.
Expand Down
2 changes: 1 addition & 1 deletion arch/i386/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ ENTRY(name) \
SAVE_ALL; \
TRACE_IRQS_OFF \
movl %esp,%eax; \
call smp_/**/name; \
call smp_##name; \
jmp ret_from_intr; \
CFI_ENDPROC; \
ENDPROC(name)
Expand Down
4 changes: 2 additions & 2 deletions include/asm-i386/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#ifdef CONFIG_SMP
#define PER_CPU(var, cpu) \
movl __per_cpu_offset(,cpu,4), cpu; \
addl $per_cpu__/**/var, cpu;
addl $per_cpu__##var, cpu;
#else /* ! SMP */
#define PER_CPU(var, cpu) \
movl $per_cpu__/**/var, cpu;
movl $per_cpu__##var, cpu;
#endif /* SMP */

#endif /* !__ASSEMBLY__ */
Expand Down

0 comments on commit f76c392

Please sign in to comment.