VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Nick Desaulniers <ndesaulniers@google.com> 2018-10-30 15:04:47 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-10-31 08:54:12 -0700 commit: de0d22e50cd3d57277f073ccf65d57aa519d6888 parent: 49ef341ab668df248949c8e011d176ac6f8918fe
Commit Summary:
treewide: remove current_text_addr
Diffstat:
1 file changed, 0 insertions, 6 deletions
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h
index 10061ccf0440..c91ef98ed6bf 100644
--- a/arch/ia64/include/asm/processor.h
+++ b/arch/ia64/include/asm/processor.h
@@ -602,12 +602,6 @@ ia64_set_unat (__u64 *unat, void *spill_addr, unsigned long nat)
 	*unat = (*unat & ~mask) | (nat << bit);
 }
 
-/*
- * Get the current instruction/program counter value.
- */
-#define current_text_addr() \
-	({ void *_pc; _pc = (void *)ia64_getreg(_IA64_REG_IP); _pc; })
-
 static inline __u64
 ia64_get_ivr (void)
 {