diff options
author | Jim Kukunas <james.t.kukunas@linux.intel.com> | 2012-05-21 23:54:16 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-05-21 23:54:16 -0400 |
commit | f674ef7b43881b2ac11f98d6ba2dc5d9dd0dd118 (patch) | |
tree | a41283e030cf4ab5513ca99604921b46651eafe8 /lib/raid6 | |
parent | ea4d26ae24e58fbd2c61de9242adab053cb982d8 (diff) |
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/raid6')
-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 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/raid/pq.h> | 19 | #include <linux/raid/pq.h> |
20 | #include <linux/module.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/module.h> | ||
25 | #include <linux/gfp.h> | 25 | #include <linux/gfp.h> |
26 | #if !RAID6_USE_EMPTY_ZERO_PAGE | 26 | #if !RAID6_USE_EMPTY_ZERO_PAGE |
27 | /* In .bss so it's zeroed */ | 27 | /* In .bss so it's zeroed */ |