x86: local.h fix checkpatch warnings
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / linux / raid / xor.h
blob3e120587eadac53669053e040db23b747ad4a91f
1 #ifndef _XOR_H
2 #define _XOR_H
4 #include <linux/raid/md.h>
6 #define MAX_XOR_BLOCKS 4
8 extern void xor_blocks(unsigned int count, unsigned int bytes,
9 void *dest, void **srcs);
11 struct xor_block_template {
12 struct xor_block_template *next;
13 const char *name;
14 int speed;
15 void (*do_2)(unsigned long, unsigned long *, unsigned long *);
16 void (*do_3)(unsigned long, unsigned long *, unsigned long *,
17 unsigned long *);
18 void (*do_4)(unsigned long, unsigned long *, unsigned long *,
19 unsigned long *, unsigned long *);
20 void (*do_5)(unsigned long, unsigned long *, unsigned long *,
21 unsigned long *, unsigned long *, unsigned long *);
24 #endif