Skip to content

Commit

Permalink
Further tidyup of raid6 naming in lib/raid6
Browse files Browse the repository at this point in the history
Rename raid6/raid6x86.h to raid6/x86.h
and modify some comments.

Signed-off-by: NeilBrown <[email protected]>
  • Loading branch information
neilbrown committed Aug 11, 2010
1 parent d5302fe commit a8e026c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/raid6/algos.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */

/*
* raid6algos.c
* raid6/algos.c
*
* Algorithm list and algorithm selection for RAID-6
*/
Expand Down
6 changes: 3 additions & 3 deletions lib/raid6/mmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
* ----------------------------------------------------------------------- */

/*
* raid6mmx.c
* raid6/mmx.c
*
* MMX implementation of RAID-6 syndrome functions
*/

#if defined(__i386__) && !defined(__arch_um__)

#include <linux/raid/pq.h>
#include "raid6x86.h"
#include "x86.h"

/* Shared with raid6sse1.c */
/* Shared with raid6/sse1.c */
const struct raid6_mmx_constants {
u64 x1d;
} raid6_mmx_constants = {
Expand Down
2 changes: 1 addition & 1 deletion lib/raid6/recov.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */

/*
* raid6recov.c
* raid6/recov.c
*
* RAID-6 data recovery in dual failure mode. In single failure mode,
* use the RAID-5 algorithm (or, in the case of Q failure, just reconstruct
Expand Down
6 changes: 3 additions & 3 deletions lib/raid6/sse1.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */

/*
* raid6sse1.c
* raid6/sse1.c
*
* SSE-1/MMXEXT implementation of RAID-6 syndrome functions
*
Expand All @@ -24,9 +24,9 @@
#if defined(__i386__) && !defined(__arch_um__)

#include <linux/raid/pq.h>
#include "raid6x86.h"
#include "x86.h"

/* Defined in raid6mmx.c */
/* Defined in raid6/mmx.c */
extern const struct raid6_mmx_constants {
u64 x1d;
} raid6_mmx_constants;
Expand Down
4 changes: 2 additions & 2 deletions lib/raid6/sse2.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */

/*
* raid6sse2.c
* raid6/sse2.c
*
* SSE-2 implementation of RAID-6 syndrome functions
*
Expand All @@ -20,7 +20,7 @@
#if (defined(__i386__) || defined(__x86_64__)) && !defined(__arch_um__)

#include <linux/raid/pq.h>
#include "raid6x86.h"
#include "x86.h"

static const struct raid6_sse_constants {
u64 x1d[2];
Expand Down
2 changes: 1 addition & 1 deletion lib/raid6/raid6x86.h → lib/raid6/x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */

/*
* raid6x86.h
* raid6/x86.h
*
* Definitions common to x86 and x86-64 RAID-6 code only
*/
Expand Down

0 comments on commit a8e026c

Please sign in to comment.