Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
ff3eab2a
Commit
ff3eab2a
authored
Mar 29, 2006
by
Ralf Baechle
Browse files
[MIPS] Some formatting fixes.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
7acb783e
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/mips/kernel/traps.c
View file @
ff3eab2a
...
...
@@ -987,7 +987,7 @@ int mips_srs_max(void)
return
shadow_registers
.
sr_supported
;
}
int
mips_srs_alloc
(
void
)
int
mips_srs_alloc
(
void
)
{
struct
shadow_registers
*
sr
=
&
shadow_registers
;
unsigned
long
flags
;
...
...
@@ -1096,7 +1096,7 @@ static void *set_vi_srs_handler(int n, void *addr, int srs)
void
*
set_vi_handler
(
int
n
,
void
*
addr
)
{
return
set_vi_srs_handler
(
n
,
addr
,
0
);
return
set_vi_srs_handler
(
n
,
addr
,
0
);
}
#endif
...
...
@@ -1277,7 +1277,7 @@ void __init trap_init(void)
if
(
cpu_has_veic
||
cpu_has_vint
)
{
int
nvec
=
cpu_has_veic
?
64
:
8
;
for
(
i
=
0
;
i
<
nvec
;
i
++
)
set_vi_handler
(
i
,
NULL
);
set_vi_handler
(
i
,
NULL
);
}
else
if
(
cpu_has_divec
)
set_handler
(
0x200
,
&
except_vec4
,
0x8
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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