diff options
author | Jim Kukunas <james.t.kukunas@linux.intel.com> | 2012-05-22 05:54:16 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-05-22 05:54:16 +0200 |
commit | f674ef7b43881b2ac11f98d6ba2dc5d9dd0dd118 (patch) | |
tree | a41283e030cf4ab5513ca99604921b46651eafe8 /lib | |
parent | raid5: add AVX optimized RAID5 checksumming (diff) | |
download | linux-f674ef7b43881b2ac11f98d6ba2dc5d9dd0dd118.tar.xz linux-f674ef7b43881b2ac11f98d6ba2dc5d9dd0dd118.zip |
lib/raid6: fix test program build
<linux/module.h> drags in headers which are not visible to userspace,
thus breaking the build for the test program.
Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/raid6/algos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c index 8b02f60ffc86..f6a0f7899163 100644 --- a/lib/raid6/algos.c +++ b/lib/raid6/algos.c @@ -17,11 +17,11 @@ */ #include <linux/raid/pq.h> -#include <linux/module.h> #ifndef __KERNEL__ #include <sys/mman.h> #include <stdio.h> #else +#include <linux/module.h> #include <linux/gfp.h> #if !RAID6_USE_EMPTY_ZERO_PAGE /* In .bss so it's zeroed */ |