]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/processor.h
PNP: add pnp_possible_config() -- can a device could be configured this way?
[linux-2.6] / include / asm-powerpc / processor.h
index 061cd17ba83b550ed93a9cb8d12ac9c0bebf8977..101ed87f7d844d832a7d37a41d91739ed8f0aeb1 100644 (file)
@@ -234,6 +234,8 @@ struct thread_struct {
 #define thread_saved_pc(tsk)    \
         ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0)
 
+#define task_pt_regs(tsk)      ((struct pt_regs *)(tsk)->thread.regs)
+
 unsigned long get_wchan(struct task_struct *p);
 
 #define KSTK_EIP(tsk)  ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0)