hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/sparc/include/asm/processor_32.h
....@@ -7,12 +7,6 @@
77 #ifndef __ASM_SPARC_PROCESSOR_H
88 #define __ASM_SPARC_PROCESSOR_H
99
10
-/*
11
- * Sparc32 implementation of macro that returns current
12
- * instruction pointer ("program counter").
13
- */
14
-#define current_text_addr() ({ void *pc; __asm__("sethi %%hi(1f), %0; or %0, %%lo(1f), %0;\n1:" : "=r" (pc)); pc; })
15
-
1610 #include <asm/psr.h>
1711 #include <asm/ptrace.h>
1812 #include <asm/head.h>