Skip to content

Commit

Permalink
lib/raid6: fix test program build
Browse files Browse the repository at this point in the history
<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]>
  • Loading branch information
jtkukunas authored and neilbrown committed May 22, 2012
1 parent ea4d26a commit f674ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/raid6/algos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f674ef7

Please sign in to comment.