mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
Make lib/raid6/test build correctly.
Some bit-rot needs to be cleaned out. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
cc4589ebfa
commit
d5302fe41f
@ -62,7 +62,9 @@ extern const char raid6_empty_zero_page[PAGE_SIZE];
|
|||||||
#define disable_kernel_altivec()
|
#define disable_kernel_altivec()
|
||||||
|
|
||||||
#define EXPORT_SYMBOL(sym)
|
#define EXPORT_SYMBOL(sym)
|
||||||
|
#define EXPORT_SYMBOL_GPL(sym)
|
||||||
#define MODULE_LICENSE(licence)
|
#define MODULE_LICENSE(licence)
|
||||||
|
#define MODULE_DESCRIPTION(desc)
|
||||||
#define subsys_initcall(x)
|
#define subsys_initcall(x)
|
||||||
#define module_exit(x)
|
#define module_exit(x)
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/raid/pq.h>
|
#include <linux/raid/pq.h>
|
||||||
#include <linux/gfp.h>
|
|
||||||
#ifndef __KERNEL__
|
#ifndef __KERNEL__
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#else
|
#else
|
||||||
|
#include <linux/gfp.h>
|
||||||
#if !RAID6_USE_EMPTY_ZERO_PAGE
|
#if !RAID6_USE_EMPTY_ZERO_PAGE
|
||||||
/* In .bss so it's zeroed */
|
/* In .bss so it's zeroed */
|
||||||
const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256)));
|
const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256)));
|
||||||
|
Loading…
Reference in New Issue
Block a user