hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
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)
....@@ -108,7 +97,6 @@
10897 unsigned long cpu_loc; /* CPU location from PAT firmware */
10998 unsigned int state;
11099 struct parisc_device *dev;
111
- unsigned long loops_per_jiffy;
112100 };
113101
114102 extern struct system_cpuinfo_parisc boot_cpu_data;