X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fbase%2Fdmapool.c;h=e2f64f91ed0558fcc6b9a70feb9620170685c485;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=33c5cce1560b261b767fa56faa410e19ed47d5e4;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/base/dmapool.c b/drivers/base/dmapool.c index 33c5cce15..e2f64f91e 100644 --- a/drivers/base/dmapool.c +++ b/drivers/base/dmapool.c @@ -7,7 +7,6 @@ #include #include #include -#include /* * Pool allocator ... wraps the dma_alloc_coherent page allocator, so @@ -36,6 +35,8 @@ struct dma_page { /* cacheable header for 'allocation' bytes */ }; #define POOL_TIMEOUT_JIFFIES ((100 /* msec */ * HZ) / 1000) +#define POOL_POISON_FREED 0xa7 /* !inuse */ +#define POOL_POISON_ALLOCATED 0xa9 /* !initted */ static DECLARE_MUTEX (pools_lock);