[U-Boot] [RFC][PATCH 7/8] Fix global label in inline asm compile error

Graeme Russ graeme.russ at gmail.com
Sat Sep 26 14:57:37 CEST 2009


---
 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