> asm volatile("fdc %%r0(%0)" : : "r" (&pdir_ptr[7])) > > Flushing pdir_ptr may or may not work depending on the cache line width > (pdr_ptr[7] is 28 bytes away, so if the line size is 16 it will fail; > although I think almost every machine with a ccio has a 32 byte or > higher cache line width). Actually, pdr_ptr is a char *, so this is 7 bytes away. However, I think you are correct in saying that pdr_ptr[7] needs to be flushed. The same issue would appear to apply to the other flush in the file. The cache line alignment of pdir's isn't immediately apparent to me. If the pdir was defined as a two word array, it might span two lines. Dave -- J. David Anglin dave.anglin@xxxxxxxxxxxxxx National Research Council of Canada (613) 990-0752 (FAX: 952-6602) -- 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