]> Pileus Git - ~andy/linux/blobdiff - include/asm-x86/processor_32.h
x86: unify current_text_addr
[~andy/linux] / include / asm-x86 / processor_32.h
index 9e119d3789b41f889c38da7250240f6190585352..6cd2149dcbad9023a7c806c305aa24b8dbe373ed 100644 (file)
 #include <linux/init.h>
 #include <asm/desc_defs.h>
 
-/*
- * Default implementation of macro that returns current
- * instruction pointer ("program counter").
- */
-#define current_text_addr() ({ void *pc; __asm__("movl $1f,%0\n1:":"=g" (pc)); pc; })
-
 /*
  *  CPU type and hardware bug flags. Kept separately for each CPU.
  *  Members of this structure are referenced in head.S, so think twice