If you want it virtually contiguous then copy the code from bttv that
out-of-bounds or otherwise is now found in about 8 drivers in the kernel.
If you don't need that then you can map user space and use kiovecs - which
is nicer for many things
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/