i386: Fix global label in inline asm compile error
authorGraeme Russ <graeme.russ@gmail.com>
Tue, 24 Nov 2009 09:04:16 +0000 (20:04 +1100)
committerWolfgang Denk <wd@denx.de>
Sat, 5 Dec 2009 00:02:46 +0000 (01:02 +0100)
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
include/configs/eNET.h

index 54c34fa..0a86550 100644 (file)
 #ifndef __ASSEMBLER__
 extern unsigned long ip;
 
-#define PRINTIP                                asm ("call next_line\n" \
-                                           "next_line:\n" \
+#define PRINTIP                                asm ("call 0\n" \
+                                           "0:\n" \
                                            "pop %%eax\n" \
                                            "movl %%eax, %0\n" \
                                            :"=r"(ip) \