aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-08-11 16:38:24 -0400
committerNeilBrown <neilb@suse.de>2010-08-11 16:38:24 -0400
commitd5302fe41ffb28d0a48be6a71becba36d3453ae0 (patch)
tree02414f0dc4ad18b6a6a096efb69046281248dd2b /lib
parentcc4589ebfae6f8dbb5cf880a0a67eedab3416492 (diff)
Make lib/raid6/test build correctly.
Some bit-rot needs to be cleaned out. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/raid6/algos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c
index 1f8784bfd44d..df7ff72777b8 100644
--- a/lib/raid6/algos.c
+++ b/lib/raid6/algos.c
@@ -17,11 +17,11 @@
17 */ 17 */
18 18
19#include <linux/raid/pq.h> 19#include <linux/raid/pq.h>
20#include <linux/gfp.h>
21#ifndef __KERNEL__ 20#ifndef __KERNEL__
22#include <sys/mman.h> 21#include <sys/mman.h>
23#include <stdio.h> 22#include <stdio.h>
24#else 23#else
24#include <linux/gfp.h>
25#if !RAID6_USE_EMPTY_ZERO_PAGE 25#if !RAID6_USE_EMPTY_ZERO_PAGE
26/* In .bss so it's zeroed */ 26/* In .bss so it's zeroed */
27const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256))); 27const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256)));