X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-arm%2Fmemory.h;h=b4e1146ab682cf97fce022c83c8be81b1f02fc7e;hb=37134cd55d57e95d3f606c6f2a57fa496bdad333;hp=3d7f08bd9030f84e7828c99db876d216032066d6;hpb=a3e49436867e6c7acc1b5eed21d30c88d156825b;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-arm/memory.h b/include/asm-arm/memory.h index 3d7f08bd903..b4e1146ab68 100644 --- a/include/asm-arm/memory.h +++ b/include/asm-arm/memory.h @@ -25,6 +25,7 @@ #include #include #include +#include #ifndef TASK_SIZE /* @@ -47,6 +48,14 @@ #define PAGE_OFFSET UL(0xc0000000) #endif +/* + * Size of DMA-consistent memory region. Must be multiple of 2M, + * between 2MB and 14MB inclusive. + */ +#ifndef CONSISTENT_DMA_SIZE +#define CONSISTENT_DMA_SIZE SZ_2M +#endif + /* * Physical vs virtual RAM address space conversion. These are * private definitions which should NOT be used outside memory.h