diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
commit | bbb20089a3275a19e475dbc21320c3742e3ca423 (patch) | |
tree | 216fdc1cbef450ca688135c5b8969169482d9a48 /crypto/xor.c | |
parent | 3e48e656903e9fd8bc805c6a2c4264d7808d315b (diff) | |
parent | 657a77fa7284d8ae28dfa48f1dc5d919bf5b2843 (diff) |
Merge branch 'dmaengine' into async-tx-next
Conflicts:
crypto/async_tx/async_xor.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/pci.c
drivers/md/raid5.c
Diffstat (limited to 'crypto/xor.c')
-rw-r--r-- | crypto/xor.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/xor.c b/crypto/xor.c index 996b6ee57d9e..fc5b836f3430 100644 --- a/crypto/xor.c +++ b/crypto/xor.c | |||
@@ -101,7 +101,12 @@ calibrate_xor_blocks(void) | |||
101 | void *b1, *b2; | 101 | void *b1, *b2; |
102 | struct xor_block_template *f, *fastest; | 102 | struct xor_block_template *f, *fastest; |
103 | 103 | ||
104 | b1 = (void *) __get_free_pages(GFP_KERNEL, 2); | 104 | /* |
105 | * Note: Since the memory is not actually used for _anything_ but to | ||
106 | * test the XOR speed, we don't really want kmemcheck to warn about | ||
107 | * reading uninitialized bytes here. | ||
108 | */ | ||
109 | b1 = (void *) __get_free_pages(GFP_KERNEL | __GFP_NOTRACK, 2); | ||
105 | if (!b1) { | 110 | if (!b1) { |
106 | printk(KERN_WARNING "xor: Yikes! No memory available.\n"); | 111 | printk(KERN_WARNING "xor: Yikes! No memory available.\n"); |
107 | return -ENOMEM; | 112 | return -ENOMEM; |