mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 23:54:26 +08:00
bff61975b3
This makes the includes more explicit, and is preparation for moving md_k.h to drivers/md/md.h Remove include/raid/md.h as its only remaining use was to #include other files. Signed-off-by: NeilBrown <neilb@suse.de>
23 lines
652 B
C
23 lines
652 B
C
#ifndef _XOR_H
|
|
#define _XOR_H
|
|
|
|
#define MAX_XOR_BLOCKS 4
|
|
|
|
extern void xor_blocks(unsigned int count, unsigned int bytes,
|
|
void *dest, void **srcs);
|
|
|
|
struct xor_block_template {
|
|
struct xor_block_template *next;
|
|
const char *name;
|
|
int speed;
|
|
void (*do_2)(unsigned long, unsigned long *, unsigned long *);
|
|
void (*do_3)(unsigned long, unsigned long *, unsigned long *,
|
|
unsigned long *);
|
|
void (*do_4)(unsigned long, unsigned long *, unsigned long *,
|
|
unsigned long *, unsigned long *);
|
|
void (*do_5)(unsigned long, unsigned long *, unsigned long *,
|
|
unsigned long *, unsigned long *, unsigned long *);
|
|
};
|
|
|
|
#endif
|