X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=kernel%2Fdma%2Fdebug.c;h=004496654aaa543a52fdd6684af5a87ef02ff054;hb=5e76f564572b85735de4b75a5e73b514be2562be;hp=a5b85dabfb8cc65a4fd79e33f3f97911a70a0d49;hpb=d3694f30732fd2a334b93f087033c5a5836f7aba;p=linux-2.6-block.git diff --git a/kernel/dma/debug.c b/kernel/dma/debug.c index a5b85dabfb8c..004496654aaa 100644 --- a/kernel/dma/debug.c +++ b/kernel/dma/debug.c @@ -27,7 +27,7 @@ #include -#define HASH_SIZE 1024ULL +#define HASH_SIZE 16384ULL #define HASH_FN_SHIFT 13 #define HASH_FN_MASK (HASH_SIZE - 1) @@ -87,7 +87,7 @@ typedef bool (*match_fn)(struct dma_debug_entry *, struct dma_debug_entry *); struct hash_bucket { struct list_head list; spinlock_t lock; -} ____cacheline_aligned_in_smp; +}; /* Hash list to save the allocated dma addresses */ static struct hash_bucket dma_entry_hash[HASH_SIZE];