diff options
| author | Jim Kukunas <[email protected]> | 2012-05-22 03:54:16 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2012-05-22 03:54:16 +0000 |
| commit | f674ef7b43881b2ac11f98d6ba2dc5d9dd0dd118 (patch) | |
| tree | a41283e030cf4ab5513ca99604921b46651eafe8 /lib/raid6/algos.c | |
| parent | raid5: add AVX optimized RAID5 checksumming (diff) | |
| download | kernel-f674ef7b43881b2ac11f98d6ba2dc5d9dd0dd118.tar.gz kernel-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 <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
| -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 */ |
