On Fri, Dec 19, 2008 at 11:13 AM, John David Anglin <dave@xxxxxxxxxxxxxxxxxx> wrote: >> > For future reference, in mmu_context.h. Bloody tricky mtctl() macro >> > doesn't take a prefix, just the numeric cr #. >> >> Evil. > > If this is a problem with the WD bit, the problem is likely here: > > mtctl(context >> (SPACEID_SHIFT - 1),8); > > It's possible this might set the WD bit depending on the alignment > of context and the value of SPACEID_SHIFT on your machine. If you > can duplicate, maybe add a BUG_ON. On hppa64, all structs are passed > by value, so the alignment of context may only be BIGGEST_ALIGNMENT. The value of context is a space id (the value returned by alloc_sid()) and is not related to any alignment? 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