parisc: add task_pt_regs macro

needed for perf_counters.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>

+3
+3
arch/parisc/include/asm/processor.h
··· 18 18 #include <asm/types.h> 19 19 #include <asm/system.h> 20 20 #include <asm/percpu.h> 21 + 21 22 #endif /* __ASSEMBLY__ */ 22 23 23 24 #define KERNEL_STACK_SIZE (4*PAGE_SIZE) ··· 127 126 unsigned long map_base; 128 127 unsigned long flags; 129 128 }; 129 + 130 + #define task_pt_regs(tsk) ((struct pt_regs *)&((tsk)->thread.regs)) 130 131 131 132 /* Thread struct flags. */ 132 133 #define PARISC_UAC_NOPRINT (1UL << 0) /* see prctl and unaligned.c */