i386: Fix global label in inline asm compile error
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
parent
4ee4e413ba
commit
141a62cc12
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user