[PATCH] i386: No need to use -traditional for processing asm in i386/kernel/
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 2 May 2007 17:27:05 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:05 +0000 (19:27 +0200)
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>
arch/i386/kernel/Makefile
arch/i386/kernel/entry.S
include/asm-i386/percpu.h

index 4ae3dcf1d2f0623f0ea3288fc8e400fdae730fb5..bd7753cb9e69245b366f26d60c000afa529c5ab1 100644 (file)
@@ -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.
index 18bddcb8e9e82757042d4813568120257b9bb25f..922cc38dc405b8fa50155e2227615b28f0028dc4 100644 (file)
@@ -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)
index 510ae1d3486c7c289b80e765af719aa80c166c94..a10e7c68ae9dcdc483345aea3510fc853da6e65b 100644 (file)
 #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__ */