projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4d26a
)
lib/raid6: fix test program build
author
Jim Kukunas
<james.t.kukunas@linux.intel.com>
Tue, 22 May 2012 03:54:16 +0000
(13:54 +1000)
committer
NeilBrown
<neilb@suse.de>
Tue, 22 May 2012 03:54:16 +0000
(13:54 +1000)
<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>
lib/raid6/algos.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/raid6/algos.c
b/lib/raid6/algos.c
index 8b02f60ffc865750f3b4e5fbbe85b329f86b0a5e..f6a0f78991639bc6a23ee340544d97cdffa89811 100644
(file)
--- 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 */