Jakub Jelinek writes:
> Sorry, it should go. It was in the original driver before dynamic DMA was
> put it, and as i386 pci_alloc_consistent used kmalloc at the time I was
> hacking it, I kept it in. When Linus later asked for pci_alloc_consistent to
> use gfp, I forgot about it.
> The Documentation/DMA-mapping.txt is right on it, pci_alloc_consistent has
> to ensure at least PAGE_SIZE alignment.
That was exactly what I was going to say next, and the patch was similar
to what I was going to propose (hence the API change bit of the subject).
I thought I ought to ask first, request later. ;)
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:22 EST