Re: Does io_remap_page_range() take 5 or 6 args?

From: Paul Jackson
Date: Wed Aug 18 2004 - 16:22:28 EST


Dave Miller wrote:
> Each platform needs different args, unfortunately.

Doesn't that make it kinda rough on the folks trying to write
arch-independent code, such as sound/core/pcm_native.c that I am
tripping over?

I can imagine a possible 'solution' something like (1) always passing
six args, and (2) providing arch-dependent macros to generate those last
two args, from some arch-generic value.

Just brainstorming ...

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/