.. | .. |
---|
20 | 20 | #include <asm/percpu.h> |
---|
21 | 21 | #endif /* __ASSEMBLY__ */ |
---|
22 | 22 | |
---|
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 | | - |
---|
34 | 23 | #define HAVE_ARCH_PICK_MMAP_LAYOUT |
---|
35 | 24 | |
---|
36 | 25 | #define TASK_SIZE_OF(tsk) ((tsk)->thread.task_size) |
---|
.. | .. |
---|
108 | 97 | unsigned long cpu_loc; /* CPU location from PAT firmware */ |
---|
109 | 98 | unsigned int state; |
---|
110 | 99 | struct parisc_device *dev; |
---|
111 | | - unsigned long loops_per_jiffy; |
---|
112 | 100 | }; |
---|
113 | 101 | |
---|
114 | 102 | extern struct system_cpuinfo_parisc boot_cpu_data; |
---|