Commit a8e026c7 authored by NeilBrown's avatar NeilBrown

Further tidyup of raid6 naming in lib/raid6

Rename raid6/raid6x86.h to raid6/x86.h
and modify some comments.
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent d5302fe4
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */ * ----------------------------------------------------------------------- */
/* /*
* raid6algos.c * raid6/algos.c
* *
* Algorithm list and algorithm selection for RAID-6 * Algorithm list and algorithm selection for RAID-6
*/ */
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */ * ----------------------------------------------------------------------- */
/* /*
* raid6mmx.c * raid6/mmx.c
* *
* MMX implementation of RAID-6 syndrome functions * MMX implementation of RAID-6 syndrome functions
*/ */
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
#if defined(__i386__) && !defined(__arch_um__) #if defined(__i386__) && !defined(__arch_um__)
#include <linux/raid/pq.h> #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 { const struct raid6_mmx_constants {
u64 x1d; u64 x1d;
} raid6_mmx_constants = { } raid6_mmx_constants = {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */ * ----------------------------------------------------------------------- */
/* /*
* raid6recov.c * raid6/recov.c
* *
* RAID-6 data recovery in dual failure mode. In single failure mode, * 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 * use the RAID-5 algorithm (or, in the case of Q failure, just reconstruct
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */ * ----------------------------------------------------------------------- */
/* /*
* raid6sse1.c * raid6/sse1.c
* *
* SSE-1/MMXEXT implementation of RAID-6 syndrome functions * SSE-1/MMXEXT implementation of RAID-6 syndrome functions
* *
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#if defined(__i386__) && !defined(__arch_um__) #if defined(__i386__) && !defined(__arch_um__)
#include <linux/raid/pq.h> #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 { extern const struct raid6_mmx_constants {
u64 x1d; u64 x1d;
} raid6_mmx_constants; } raid6_mmx_constants;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */ * ----------------------------------------------------------------------- */
/* /*
* raid6sse2.c * raid6/sse2.c
* *
* SSE-2 implementation of RAID-6 syndrome functions * SSE-2 implementation of RAID-6 syndrome functions
* *
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#if (defined(__i386__) || defined(__x86_64__)) && !defined(__arch_um__) #if (defined(__i386__) || defined(__x86_64__)) && !defined(__arch_um__)
#include <linux/raid/pq.h> #include <linux/raid/pq.h>
#include "raid6x86.h" #include "x86.h"
static const struct raid6_sse_constants { static const struct raid6_sse_constants {
u64 x1d[2]; u64 x1d[2];
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* ----------------------------------------------------------------------- */ * ----------------------------------------------------------------------- */
/* /*
* raid6x86.h * raid6/x86.h
* *
* Definitions common to x86 and x86-64 RAID-6 code only * Definitions common to x86 and x86-64 RAID-6 code only
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment