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
882c12c4
Commit
882c12c4
authored
May 14, 2007
by
Paul Mundt
Committed by
Paul Mundt
Jun 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Shut up SH2-DSP compile warnings.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
9655ad03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/sh/kernel/process.c
arch/sh/kernel/process.c
+1
-1
arch/sh/kernel/traps.c
arch/sh/kernel/traps.c
+1
-1
No files found.
arch/sh/kernel/process.c
View file @
882c12c4
...
@@ -406,8 +406,8 @@ asmlinkage int sys_fork(unsigned long r4, unsigned long r5,
...
@@ -406,8 +406,8 @@ asmlinkage int sys_fork(unsigned long r4, unsigned long r5,
unsigned
long
r6
,
unsigned
long
r7
,
unsigned
long
r6
,
unsigned
long
r7
,
struct
pt_regs
__regs
)
struct
pt_regs
__regs
)
{
{
struct
pt_regs
*
regs
=
RELOC_HIDE
(
&
__regs
,
0
);
#ifdef CONFIG_MMU
#ifdef CONFIG_MMU
struct
pt_regs
*
regs
=
RELOC_HIDE
(
&
__regs
,
0
);
return
do_fork
(
SIGCHLD
,
regs
->
regs
[
15
],
regs
,
0
,
NULL
,
NULL
);
return
do_fork
(
SIGCHLD
,
regs
->
regs
[
15
],
regs
,
0
,
NULL
,
NULL
);
#else
#else
/* fork almost works, enough to trick you into looking elsewhere :-( */
/* fork almost works, enough to trick you into looking elsewhere :-( */
...
...
arch/sh/kernel/traps.c
View file @
882c12c4
...
@@ -614,7 +614,7 @@ asmlinkage void do_address_error(struct pt_regs *regs,
...
@@ -614,7 +614,7 @@ asmlinkage void do_address_error(struct pt_regs *regs,
*/
*/
int
is_dsp_inst
(
struct
pt_regs
*
regs
)
int
is_dsp_inst
(
struct
pt_regs
*
regs
)
{
{
unsigned
short
inst
;
unsigned
short
inst
=
0
;
/*
/*
* Safe guard if DSP mode is already enabled or we're lacking
* Safe guard if DSP mode is already enabled or we're lacking
...
...
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