summaryrefslogtreecommitdiffstats
path: root/arch/c6x/include/asm/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/include/asm/processor.h')
-rw-r--r--arch/c6x/include/asm/processor.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/c6x/include/asm/processor.h b/arch/c6x/include/asm/processor.h
index 8f7cce829f8e2..a8581f5b27f63 100644
--- a/arch/c6x/include/asm/processor.h
+++ b/arch/c6x/include/asm/processor.h
@@ -18,17 +18,6 @@
#include <asm/current.h>
/*
- * Default implementation of macro that returns current
- * instruction pointer ("program counter").
- */
-#define current_text_addr() \
-({ \
- void *__pc; \
- asm("mvc .S2 pce1,%0\n" : "=b"(__pc)); \
- __pc; \
-})
-
-/*
* User space process size. This is mostly meaningless for NOMMU
* but some C6X processors may have RAM addresses up to 0xFFFFFFFF.
* Since calls like mmap() can return an address or an error, we