mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
x86-64: enable sg chaining
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
9ee1bea469
commit
46856afa01
@ -6,8 +6,7 @@
|
||||
* documentation.
|
||||
*/
|
||||
|
||||
|
||||
#include <asm/scatterlist.h>
|
||||
#include <linux/scatterlist.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/swiotlb.h>
|
||||
|
||||
|
@ -11,6 +11,8 @@ struct scatterlist {
|
||||
unsigned int dma_length;
|
||||
};
|
||||
|
||||
#define ARCH_HAS_SG_CHAIN
|
||||
|
||||
#define ISA_DMA_THRESHOLD (0x00ffffff)
|
||||
|
||||
/* These macros should be used after a pci_map_sg call has been done
|
||||
|
Loading…
Reference in New Issue
Block a user