Commit f76c3923 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Andi Kleen

[PATCH] i386: No need to use -traditional for processing asm in i386/kernel/

No need to use -traditional for processing asm in i386/kernel/
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 9964cf7d
...@@ -43,8 +43,6 @@ obj-$(CONFIG_VMI) += vmi.o vmitime.o ...@@ -43,8 +43,6 @@ obj-$(CONFIG_VMI) += vmi.o vmitime.o
obj-$(CONFIG_PARAVIRT) += paravirt.o obj-$(CONFIG_PARAVIRT) += paravirt.o
obj-y += pcspeaker.o obj-y += pcspeaker.o
EXTRA_AFLAGS := -traditional
obj-$(CONFIG_SCx200) += scx200.o obj-$(CONFIG_SCx200) += scx200.o
# vsyscall.o contains the vsyscall DSO images as __initdata. # vsyscall.o contains the vsyscall DSO images as __initdata.
......
...@@ -635,7 +635,7 @@ ENTRY(name) \ ...@@ -635,7 +635,7 @@ ENTRY(name) \
SAVE_ALL; \ SAVE_ALL; \
TRACE_IRQS_OFF \ TRACE_IRQS_OFF \
movl %esp,%eax; \ movl %esp,%eax; \
call smp_/**/name; \ call smp_##name; \
jmp ret_from_intr; \ jmp ret_from_intr; \
CFI_ENDPROC; \ CFI_ENDPROC; \
ENDPROC(name) ENDPROC(name)
......
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#define PER_CPU(var, cpu) \ #define PER_CPU(var, cpu) \
movl __per_cpu_offset(,cpu,4), cpu; \ movl __per_cpu_offset(,cpu,4), cpu; \
addl $per_cpu__/**/var, cpu; addl $per_cpu__##var, cpu;
#else /* ! SMP */ #else /* ! SMP */
#define PER_CPU(var, cpu) \ #define PER_CPU(var, cpu) \
movl $per_cpu__/**/var, cpu; movl $per_cpu__##var, cpu;
#endif /* SMP */ #endif /* SMP */
#endif /* !__ASSEMBLY__ */ #endif /* !__ASSEMBLY__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment