Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Make lib/raid6/test build correctly.

Some bit-rot needs to be cleaned out.

Signed-off-by: NeilBrown <neilb@suse.de>

NeilBrown d5302fe4 cc4589eb

+3 -1
+2
include/linux/raid/pq.h
··· 62 62 #define disable_kernel_altivec() 63 63 64 64 #define EXPORT_SYMBOL(sym) 65 + #define EXPORT_SYMBOL_GPL(sym) 65 66 #define MODULE_LICENSE(licence) 67 + #define MODULE_DESCRIPTION(desc) 66 68 #define subsys_initcall(x) 67 69 #define module_exit(x) 68 70 #endif /* __KERNEL__ */
+1 -1
lib/raid6/algos.c
··· 17 17 */ 18 18 19 19 #include <linux/raid/pq.h> 20 - #include <linux/gfp.h> 21 20 #ifndef __KERNEL__ 22 21 #include <sys/mman.h> 23 22 #include <stdio.h> 24 23 #else 24 + #include <linux/gfp.h> 25 25 #if !RAID6_USE_EMPTY_ZERO_PAGE 26 26 /* In .bss so it's zeroed */ 27 27 const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256)));