X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-xtensa%2Fdma.h;h=e30f3abf48f0a60d889b852088c8493ef8509597;hb=7d776cb596994219584257eb5956b87628e5deaf;hp=db2633f67789ad994df5b0fb9527c5d1f347e7bd;hpb=1323523f505606cfd24af6122369afddefc3b09d;p=powerpc.git diff --git a/include/asm-xtensa/dma.h b/include/asm-xtensa/dma.h index db2633f677..e30f3abf48 100644 --- a/include/asm-xtensa/dma.h +++ b/include/asm-xtensa/dma.h @@ -12,7 +12,6 @@ #define _XTENSA_DMA_H #include /* need byte IO */ -#include /* * This is only to be defined if we have PC-like DMA. @@ -44,7 +43,9 @@ * enters another area, and virt_to_phys() may not return * the value desired). */ -#define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KSEG_CACHED_SIZE - 1) + +#define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KIO_SIZE - 1) + /* Reserve and release a DMA channel */ extern int request_dma(unsigned int dmanr, const char * device_id);