On Thu, Dec 18, 2008 at 11:44 AM, Kyle McMartin <kyle@xxxxxxxxxxxxx> wrote: > +static u32 __get_pid_from_cr(struct pt_regs *regs, int i) > +{ > +#ifdef CONFIG_64BIT > + return (regs->protid[(i&1?i^1:i)>>1] >> (i&1?32:0)) & 0xffffffff; > +#else > + return regs->cr[pid_cr[i]]; > +#endif /*CONFIG_64BIT*/ > +} Oh, I see you are too clever for me today. Thanks. c. -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html