sh: Shut up SH2-DSP compile warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -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 :-( */
|
||||||
|
@@ -614,7 +614,7 @@ uspace_segv:
|
|||||||
*/
|
*/
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user