diff options
Diffstat (limited to 'include/asm-cris/processor.h')
| -rw-r--r-- | include/asm-cris/processor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-cris/processor.h b/include/asm-cris/processor.h index dec7e2cefc7d..a9b11b89eced 100644 --- a/include/asm-cris/processor.h +++ b/include/asm-cris/processor.h @@ -12,13 +12,14 @@ #include <linux/config.h> #include <asm/system.h> +#include <asm/page.h> #include <asm/ptrace.h> /* * Default implementation of macro that returns current * instruction pointer ("program counter"). */ -#define current_text_addr() ({void *pc; __asm__ ("move.d pc,%0" : "=rm" (pc)); pc; }) +#define current_text_addr() ({void *pc; __asm__ ("move.d $pc,%0" : "=rm" (pc)); pc; }) /* CRIS has no problems with write protection */ |
