Commit ee2a8d65 authored by Brian Gerst's avatar Brian Gerst Committed by Linus Torvalds

[PATCH] Removing SYMBOL_NAME part 6

Last remaining instances removed.
parent 8a909307
...@@ -113,12 +113,12 @@ asmlinkage void pnp_bios_callfunc(void); ...@@ -113,12 +113,12 @@ asmlinkage void pnp_bios_callfunc(void);
__asm__( __asm__(
".text \n" ".text \n"
__ALIGN_STR "\n" __ALIGN_STR "\n"
SYMBOL_NAME_STR(pnp_bios_callfunc) ":\n" "pnp_bios_callfunc:\n"
" pushl %edx \n" " pushl %edx \n"
" pushl %ecx \n" " pushl %ecx \n"
" pushl %ebx \n" " pushl %ebx \n"
" pushl %eax \n" " pushl %eax \n"
" lcallw " SYMBOL_NAME_STR(pnp_bios_callpoint) "\n" " lcallw pnp_bios_callpoint\n"
" addl $16, %esp \n" " addl $16, %esp \n"
" lret \n" " lret \n"
".previous \n" ".previous \n"
......
...@@ -1285,8 +1285,8 @@ static int internal_command (unsigned char target, unsigned char lun, ...@@ -1285,8 +1285,8 @@ static int internal_command (unsigned char target, unsigned char lun,
/* Test for any data here at all. */ /* Test for any data here at all. */
"orl %%ecx, %%ecx\n\t" "orl %%ecx, %%ecx\n\t"
"jz 2f\n\t" "cld\n\t" "jz 2f\n\t" "cld\n\t"
/* "movl " SYMBOL_NAME_STR(st0x_cr_sr) ", %%ebx\n\t" */ /* "movl st0x_cr_sr, %%ebx\n\t" */
/* "movl " SYMBOL_NAME_STR(st0x_dr) ", %%edi\n\t" */ /* "movl st0x_dr, %%edi\n\t" */
"1:\t" "1:\t"
"movb (%%ebx), %%al\n\t" "movb (%%ebx), %%al\n\t"
/* Test for BSY */ /* Test for BSY */
...@@ -1461,8 +1461,8 @@ static int internal_command (unsigned char target, unsigned char lun, ...@@ -1461,8 +1461,8 @@ static int internal_command (unsigned char target, unsigned char lun,
/* Test for room to read */ /* Test for room to read */
"orl %%ecx, %%ecx\n\t" "orl %%ecx, %%ecx\n\t"
"jz 2f\n\t" "cld\n\t" "jz 2f\n\t" "cld\n\t"
/* "movl " SYMBOL_NAME_STR(st0x_cr_sr) ", %%esi\n\t" */ /* "movl st0x_cr_sr, %%esi\n\t" */
/* "movl " SYMBOL_NAME_STR(st0x_dr) ", %%ebx\n\t" */ /* "movl st0x_dr, %%ebx\n\t" */
"1:\t" "1:\t"
"movb (%%esi), %%al\n\t" "movb (%%esi), %%al\n\t"
/* Test for BSY */ /* Test for BSY */
......
...@@ -17,14 +17,6 @@ ...@@ -17,14 +17,6 @@
#define asmlinkage CPP_ASMLINKAGE #define asmlinkage CPP_ASMLINKAGE
#endif #endif
#define SYMBOL_NAME_STR(X) #X
#define SYMBOL_NAME(X) X
#ifdef __STDC__
#define SYMBOL_NAME_LABEL(X) X##:
#else
#define SYMBOL_NAME_LABEL(X) X/**/:
#endif
#ifdef __arm__ #ifdef __arm__
#define __ALIGN .align 0 #define __ALIGN .align 0
#define __ALIGN_STR ".align 0" #define __ALIGN_STR ".align 0"
...@@ -54,9 +46,9 @@ ...@@ -54,9 +46,9 @@
#define ALIGN_STR __ALIGN_STR #define ALIGN_STR __ALIGN_STR
#define ENTRY(name) \ #define ENTRY(name) \
.globl SYMBOL_NAME(name); \ .globl name; \
ALIGN; \ ALIGN; \
SYMBOL_NAME_LABEL(name) name:
#endif #endif
......
...@@ -44,7 +44,7 @@ static inline void net_profile_accumulate(struct timeval *entered, ...@@ -44,7 +44,7 @@ static inline void net_profile_accumulate(struct timeval *entered,
"sbbl %3,%1\n\t" "sbbl %3,%1\n\t"
"addl %4,%0\n\t" "addl %4,%0\n\t"
"adcl %5,%1\n\t" "adcl %5,%1\n\t"
"subl " SYMBOL_NAME_STR(net_profile_adjust) "+4,%0\n\t" "subl net_profile_adjust+4,%0\n\t"
"sbbl $0,%1\n\t" "sbbl $0,%1\n\t"
: "=r" (acc->tv_usec), "=r" (acc->tv_sec) : "=r" (acc->tv_usec), "=r" (acc->tv_sec)
: "g" (entered->tv_usec), "g" (entered->tv_sec), : "g" (entered->tv_usec), "g" (entered->tv_sec),
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
ENTRY(vidc_fill_1x8_u) ENTRY(vidc_fill_1x8_u)
mov ip, #0xff00 mov ip, #0xff00
1: cmp r0, r1 1: cmp r0, r1
bge SYMBOL_NAME(vidc_clear) bge vidc_clear
ldrb r4, [r0], #1 ldrb r4, [r0], #1
eor r4, r4, #0x80 eor r4, r4, #0x80
and r4, ip, r4, lsl #8 and r4, ip, r4, lsl #8
...@@ -33,7 +33,7 @@ ENTRY(vidc_fill_1x8_u) ...@@ -33,7 +33,7 @@ ENTRY(vidc_fill_1x8_u)
ENTRY(vidc_fill_2x8_u) ENTRY(vidc_fill_2x8_u)
mov ip, #0xff00 mov ip, #0xff00
1: cmp r0, r1 1: cmp r0, r1
bge SYMBOL_NAME(vidc_clear) bge vidc_clear
ldr r4, [r0], #2 ldr r4, [r0], #2
and r5, r4, ip and r5, r4, ip
and r4, ip, r4, lsl #8 and r4, ip, r4, lsl #8
...@@ -47,7 +47,7 @@ ENTRY(vidc_fill_2x8_u) ...@@ -47,7 +47,7 @@ ENTRY(vidc_fill_2x8_u)
ENTRY(vidc_fill_1x8_s) ENTRY(vidc_fill_1x8_s)
mov ip, #0xff00 mov ip, #0xff00
1: cmp r0, r1 1: cmp r0, r1
bge SYMBOL_NAME(vidc_clear) bge vidc_clear
ldrb r4, [r0], #1 ldrb r4, [r0], #1
and r4, ip, r4, lsl #8 and r4, ip, r4, lsl #8
orr r4, r4, r4, lsl #16 orr r4, r4, r4, lsl #16
...@@ -59,7 +59,7 @@ ENTRY(vidc_fill_1x8_s) ...@@ -59,7 +59,7 @@ ENTRY(vidc_fill_1x8_s)
ENTRY(vidc_fill_2x8_s) ENTRY(vidc_fill_2x8_s)
mov ip, #0xff00 mov ip, #0xff00
1: cmp r0, r1 1: cmp r0, r1
bge SYMBOL_NAME(vidc_clear) bge vidc_clear
ldr r4, [r0], #2 ldr r4, [r0], #2
and r5, r4, ip and r5, r4, ip
and r4, ip, r4, lsl #8 and r4, ip, r4, lsl #8
...@@ -74,7 +74,7 @@ ENTRY(vidc_fill_1x16_s) ...@@ -74,7 +74,7 @@ ENTRY(vidc_fill_1x16_s)
mov ip, #0xff00 mov ip, #0xff00
orr ip, ip, ip, lsr #8 orr ip, ip, ip, lsr #8
1: cmp r0, r1 1: cmp r0, r1
bge SYMBOL_NAME(vidc_clear) bge vidc_clear
ldr r5, [r0], #2 ldr r5, [r0], #2
and r4, r5, ip and r4, r5, ip
orr r4, r4, r4, lsl #16 orr r4, r4, r4, lsl #16
...@@ -92,7 +92,7 @@ ENTRY(vidc_fill_2x16_s) ...@@ -92,7 +92,7 @@ ENTRY(vidc_fill_2x16_s)
mov ip, #0xff00 mov ip, #0xff00
orr ip, ip, ip, lsr #8 orr ip, ip, ip, lsr #8
1: cmp r0, r1 1: cmp r0, r1
bge SYMBOL_NAME(vidc_clear) bge vidc_clear
ldr r4, [r0], #4 ldr r4, [r0], #4
str r4, [r2], #4 str r4, [r2], #4
cmp r0, r1 cmp r0, r1
...@@ -136,10 +136,10 @@ ENTRY(vidc_clear) ...@@ -136,10 +136,10 @@ ENTRY(vidc_clear)
ENTRY(vidc_sound_dma_irq) ENTRY(vidc_sound_dma_irq)
stmfd sp!, {r4 - r8, lr} stmfd sp!, {r4 - r8, lr}
ldr r8, =SYMBOL_NAME(dma_start) ldr r8, =dma_start
ldmia r8, {r0, r1, r2, r3, r4, r5} ldmia r8, {r0, r1, r2, r3, r4, r5}
teq r1, #0 teq r1, #0
adreq r4, SYMBOL_NAME(vidc_fill_noaudio) adreq r4, vidc_fill_noaudio
moveq r7, #1 << 31 moveq r7, #1 << 31
movne r7, #0 movne r7, #0
mov ip, #IOMD_BASE & 0xff000000 mov ip, #IOMD_BASE & 0xff000000
...@@ -193,26 +193,26 @@ ENTRY(vidc_sound_dma_irq) ...@@ -193,26 +193,26 @@ ENTRY(vidc_sound_dma_irq)
mov pc, lr mov pc, lr
.data .data
.globl SYMBOL_NAME(dma_interrupt) .globl dma_interrupt
SYMBOL_NAME(dma_interrupt): dma_interrupt:
.long 0 @ r3 .long 0 @ r3
.globl SYMBOL_NAME(dma_pbuf) .globl dma_pbuf
SYMBOL_NAME(dma_pbuf): dma_pbuf:
.long 0 @ r4 .long 0 @ r4
.long 0 @ r5 .long 0 @ r5
.globl SYMBOL_NAME(dma_start) .globl dma_start
SYMBOL_NAME(dma_start): dma_start:
.long 0 @ r0 .long 0 @ r0
.globl SYMBOL_NAME(dma_count) .globl dma_count
SYMBOL_NAME(dma_count): dma_count:
.long 0 @ r1 .long 0 @ r1
.globl SYMBOL_NAME(dma_buf) .globl dma_buf
SYMBOL_NAME(dma_buf): dma_buf:
.long 0 @ r2 .long 0 @ r2
.long 0 @ r3 .long 0 @ r3
.globl SYMBOL_NAME(vidc_filler) .globl vidc_filler
SYMBOL_NAME(vidc_filler): vidc_filler:
.long SYMBOL_NAME(vidc_fill_noaudio) @ r4 .long vidc_fill_noaudio @ r4
.globl SYMBOL_NAME(dma_bufsize) .globl dma_bufsize
SYMBOL_NAME(dma_bufsize): dma_bufsize:
.long 0x1000 @ r5 .long 0x1000 @ r5
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