On Fri, Dec 19, 2008 at 11:44 AM, Kyle McMartin <kyle@xxxxxxxxxxxxx> wrote: > SPACEID_SHIFT is the number of spaceid bits, which is 32 on 64-bit. On 64-bit SPACEID_SHIFT is 11 bits. Verified by hand and by gcc -E/-dM and test program. On 32-bit SPACEID_SHIFT is 0 bits. Verified by hand. > I suspect what this is trying to do, is put it in the rightmost half of > the register, so as long as context is shifted left already, (which it > is.) > > When you cancel out the SPACEID_SHIFT in alloc_sid, and here in > load_context, you end up with the same mtctl(context << 1, 8) as on > 32-bit. Yes, and that keeps the WD bit clear. Cheers, Carlos. -- 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