@@ -42,7 +42,12 @@ extern void tapechar_init(void);
*/
static inline int uncached_access(struct file *file, unsigned long addr)
Any chance you could just move uncached_access() to some asm/ header for
all arches instead of making the ifdef mess even worse?
I suppose a generic definition could go in asm-generic/iomap.h
with per-architecture definitions in asm/io.h. However, I think
it would make sense to wait until PAT support gets added and then
think through exactly what needs doing rather than reorganising
things now.
What do people think about this? Should I stick with the current
patch that adds another #ifdef to uncached_access, or should I
try pulling it out into asm-generic/iomap.h with per-arch
definitions in asm/io.h ?
Is there anyone working on PAT support? It would be good to have
their input.