Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7820f9e1
Commit
7820f9e1
authored
Dec 14, 2009
by
NeilBrown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md: remove sparse warning:symbol XXX was not declared.
Signed-off-by:
NeilBrown
<
neilb@suse.de
>
parent
8553fe7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
drivers/md/raid6algos.c
drivers/md/raid6algos.c
+0
-19
include/linux/raid/pq.h
include/linux/raid/pq.h
+19
-0
No files found.
drivers/md/raid6algos.c
View file @
7820f9e1
...
...
@@ -31,25 +31,6 @@ EXPORT_SYMBOL(raid6_empty_zero_page);
struct
raid6_calls
raid6_call
;
EXPORT_SYMBOL_GPL
(
raid6_call
);
/* Various routine sets */
extern
const
struct
raid6_calls
raid6_intx1
;
extern
const
struct
raid6_calls
raid6_intx2
;
extern
const
struct
raid6_calls
raid6_intx4
;
extern
const
struct
raid6_calls
raid6_intx8
;
extern
const
struct
raid6_calls
raid6_intx16
;
extern
const
struct
raid6_calls
raid6_intx32
;
extern
const
struct
raid6_calls
raid6_mmxx1
;
extern
const
struct
raid6_calls
raid6_mmxx2
;
extern
const
struct
raid6_calls
raid6_sse1x1
;
extern
const
struct
raid6_calls
raid6_sse1x2
;
extern
const
struct
raid6_calls
raid6_sse2x1
;
extern
const
struct
raid6_calls
raid6_sse2x2
;
extern
const
struct
raid6_calls
raid6_sse2x4
;
extern
const
struct
raid6_calls
raid6_altivec1
;
extern
const
struct
raid6_calls
raid6_altivec2
;
extern
const
struct
raid6_calls
raid6_altivec4
;
extern
const
struct
raid6_calls
raid6_altivec8
;
const
struct
raid6_calls
*
const
raid6_algos
[]
=
{
&
raid6_intx1
,
&
raid6_intx2
,
...
...
include/linux/raid/pq.h
View file @
7820f9e1
...
...
@@ -78,6 +78,25 @@ struct raid6_calls {
/* Selected algorithm */
extern
struct
raid6_calls
raid6_call
;
/* Various routine sets */
extern
const
struct
raid6_calls
raid6_intx1
;
extern
const
struct
raid6_calls
raid6_intx2
;
extern
const
struct
raid6_calls
raid6_intx4
;
extern
const
struct
raid6_calls
raid6_intx8
;
extern
const
struct
raid6_calls
raid6_intx16
;
extern
const
struct
raid6_calls
raid6_intx32
;
extern
const
struct
raid6_calls
raid6_mmxx1
;
extern
const
struct
raid6_calls
raid6_mmxx2
;
extern
const
struct
raid6_calls
raid6_sse1x1
;
extern
const
struct
raid6_calls
raid6_sse1x2
;
extern
const
struct
raid6_calls
raid6_sse2x1
;
extern
const
struct
raid6_calls
raid6_sse2x2
;
extern
const
struct
raid6_calls
raid6_sse2x4
;
extern
const
struct
raid6_calls
raid6_altivec1
;
extern
const
struct
raid6_calls
raid6_altivec2
;
extern
const
struct
raid6_calls
raid6_altivec4
;
extern
const
struct
raid6_calls
raid6_altivec8
;
/* Algorithm list */
extern
const
struct
raid6_calls
*
const
raid6_algos
[];
int
raid6_select_algo
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment