[U-Boot] [PATCH v2 05/10] Fix global label in inline asm compile error

Graeme Russ graeme.russ at gmail.com
Tue Nov 24 10:04:16 CET 2009


Signed-off-by: Graeme Russ <graeme.russ at gmail.com>
---
 include/configs/eNET.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/eNET.h b/include/configs/eNET.h
index 54c34fa..0a86550 100644
--- a/include/configs/eNET.h
+++ b/include/configs/eNET.h
@@ -234,8 +234,8 @@
 #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) \
-- 
1.6.4.1.174.g32f4c



More information about the U-Boot mailing list