forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/parisc/include/asm/processor.h
....@@ -20,17 +20,6 @@
2020 #include <asm/percpu.h>
2121 #endif /* __ASSEMBLY__ */
2222
23
-/*
24
- * Default implementation of macro that returns current
25
- * instruction pointer ("program counter").
26
- */
27
-#ifdef CONFIG_PA20
28
-#define current_ia(x) __asm__("mfia %0" : "=r"(x))
29
-#else /* mfia added in pa2.0 */
30
-#define current_ia(x) __asm__("blr 0,%0\n\tnop" : "=r"(x))
31
-#endif
32
-#define current_text_addr() ({ void *pc; current_ia(pc); pc; })
33
-
3423 #define HAVE_ARCH_PICK_MMAP_LAYOUT
3524
3625 #define TASK_SIZE_OF(tsk) ((tsk)->thread.task_size)