aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-08-11 16:44:54 -0400
committerNeilBrown <neilb@suse.de>2010-08-11 16:44:54 -0400
commita8e026c785b3fecef0ef5c00c15223542c4db8f5 (patch)
tree580baa4e5a3e5bed4cef74a4e9a523b8010f6020
parentd5302fe41ffb28d0a48be6a71becba36d3453ae0 (diff)
Further tidyup of raid6 naming in lib/raid6
Rename raid6/raid6x86.h to raid6/x86.h and modify some comments. Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r--lib/raid6/algos.c2
-rw-r--r--lib/raid6/mmx.c6
-rw-r--r--lib/raid6/recov.c2
-rw-r--r--lib/raid6/sse1.c6
-rw-r--r--lib/raid6/sse2.c4
-rw-r--r--lib/raid6/x86.h (renamed from lib/raid6/raid6x86.h)2
6 files changed, 11 insertions, 11 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c
index df7ff72777b8..b595f560bee7 100644
--- a/lib/raid6/algos.c
+++ b/lib/raid6/algos.c
@@ -11,7 +11,7 @@
11 * ----------------------------------------------------------------------- */ 11 * ----------------------------------------------------------------------- */
12 12
13/* 13/*
14 * raid6algos.c 14 * raid6/algos.c
15 * 15 *
16 * Algorithm list and algorithm selection for RAID-6 16 * Algorithm list and algorithm selection for RAID-6
17 */ 17 */
diff --git a/lib/raid6/mmx.c b/lib/raid6/mmx.c
index e7f6c13132bf..279347f23094 100644
--- a/lib/raid6/mmx.c
+++ b/lib/raid6/mmx.c
@@ -11,7 +11,7 @@
11 * ----------------------------------------------------------------------- */ 11 * ----------------------------------------------------------------------- */
12 12
13/* 13/*
14 * raid6mmx.c 14 * raid6/mmx.c
15 * 15 *
16 * MMX implementation of RAID-6 syndrome functions 16 * MMX implementation of RAID-6 syndrome functions
17 */ 17 */
@@ -19,9 +19,9 @@
19#if defined(__i386__) && !defined(__arch_um__) 19#if defined(__i386__) && !defined(__arch_um__)
20 20
21#include <linux/raid/pq.h> 21#include <linux/raid/pq.h>
22#include "raid6x86.h" 22#include "x86.h"
23 23
24/* Shared with raid6sse1.c */ 24/* Shared with raid6/sse1.c */
25const struct raid6_mmx_constants { 25const struct raid6_mmx_constants {
26 u64 x1d; 26 u64 x1d;
27} raid6_mmx_constants = { 27} raid6_mmx_constants = {
diff --git a/lib/raid6/recov.c b/lib/raid6/recov.c
index 2609f00e0d61..8590d19cf522 100644
--- a/lib/raid6/recov.c
+++ b/lib/raid6/recov.c
@@ -11,7 +11,7 @@
11 * ----------------------------------------------------------------------- */ 11 * ----------------------------------------------------------------------- */
12 12
13/* 13/*
14 * raid6recov.c 14 * raid6/recov.c
15 * 15 *
16 * RAID-6 data recovery in dual failure mode. In single failure mode, 16 * RAID-6 data recovery in dual failure mode. In single failure mode,
17 * use the RAID-5 algorithm (or, in the case of Q failure, just reconstruct 17 * use the RAID-5 algorithm (or, in the case of Q failure, just reconstruct
diff --git a/lib/raid6/sse1.c b/lib/raid6/sse1.c
index b274dd5eab8f..10dd91948c07 100644
--- a/lib/raid6/sse1.c
+++ b/lib/raid6/sse1.c
@@ -11,7 +11,7 @@
11 * ----------------------------------------------------------------------- */ 11 * ----------------------------------------------------------------------- */
12 12
13/* 13/*
14 * raid6sse1.c 14 * raid6/sse1.c
15 * 15 *
16 * SSE-1/MMXEXT implementation of RAID-6 syndrome functions 16 * SSE-1/MMXEXT implementation of RAID-6 syndrome functions
17 * 17 *
@@ -24,9 +24,9 @@
24#if defined(__i386__) && !defined(__arch_um__) 24#if defined(__i386__) && !defined(__arch_um__)
25 25
26#include <linux/raid/pq.h> 26#include <linux/raid/pq.h>
27#include "raid6x86.h" 27#include "x86.h"
28 28
29/* Defined in raid6mmx.c */ 29/* Defined in raid6/mmx.c */
30extern const struct raid6_mmx_constants { 30extern const struct raid6_mmx_constants {
31 u64 x1d; 31 u64 x1d;
32} raid6_mmx_constants; 32} raid6_mmx_constants;
diff --git a/lib/raid6/sse2.c b/lib/raid6/sse2.c
index 6ed6c6c0389f..bc2d57daa589 100644
--- a/lib/raid6/sse2.c
+++ b/lib/raid6/sse2.c
@@ -11,7 +11,7 @@
11 * ----------------------------------------------------------------------- */ 11 * ----------------------------------------------------------------------- */
12 12
13/* 13/*
14 * raid6sse2.c 14 * raid6/sse2.c
15 * 15 *
16 * SSE-2 implementation of RAID-6 syndrome functions 16 * SSE-2 implementation of RAID-6 syndrome functions
17 * 17 *
@@ -20,7 +20,7 @@
20#if (defined(__i386__) || defined(__x86_64__)) && !defined(__arch_um__) 20#if (defined(__i386__) || defined(__x86_64__)) && !defined(__arch_um__)
21 21
22#include <linux/raid/pq.h> 22#include <linux/raid/pq.h>
23#include "raid6x86.h" 23#include "x86.h"
24 24
25static const struct raid6_sse_constants { 25static const struct raid6_sse_constants {
26 u64 x1d[2]; 26 u64 x1d[2];
diff --git a/lib/raid6/raid6x86.h b/lib/raid6/x86.h
index 4c22c1568558..cb2a8c91c886 100644
--- a/lib/raid6/raid6x86.h
+++ b/lib/raid6/x86.h
@@ -11,7 +11,7 @@
11 * ----------------------------------------------------------------------- */ 11 * ----------------------------------------------------------------------- */
12 12
13/* 13/*
14 * raid6x86.h 14 * raid6/x86.h
15 * 15 *
16 * Definitions common to x86 and x86-64 RAID-6 code only 16 * Definitions common to x86 and x86-64 RAID-6 code only
17 */ 17 */