gcc 4.3.2 optimiser creates multiple copies of inline asm (who knows why)
Remove use of global names for labels to prevent 'symbol already defined'
errors
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
/* wait at least one millisecond */
asm("movl $0x2000,%%ecx\n"
- "wait_loop: pushl %%ecx\n"
+ "0: pushl %%ecx\n"
"popl %%ecx\n"
- "loop wait_loop\n": : : "ecx");
+ "loop 0b\n": : : "ecx");
/* turn on the SDRAM write buffer */
write_mmcr_byte(SC520_DBCTL, 0x11);
/* wait at least one millisecond */
asm("movl $0x2000,%%ecx\n"
- "wait_loop: pushl %%ecx\n"
+ "0: pushl %%ecx\n"
"popl %%ecx\n"
- "loop wait_loop\n": : : "ecx");
+ "loop 0b\n": : : "ecx");
/* turn on the SDRAM write buffer */
write_mmcr_byte(SC520_DBCTL, 0x11);