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
b08a9c95
Commit
b08a9c95
authored
Dec 04, 2013
by
Markos Chandras
Committed by
Ralf Baechle
Mar 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: kernel: traps: Whitespace clean up
Signed-off-by:
Markos Chandras
<
markos.chandras@imgtec.com
>
parent
86bdb277
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
arch/mips/kernel/traps.c
arch/mips/kernel/traps.c
+10
-7
No files found.
arch/mips/kernel/traps.c
View file @
b08a9c95
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
* Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
* Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
* Copyright (C) 2002, 2003, 2004, 2005, 2007 Maciej W. Rozycki
* Copyright (C) 2002, 2003, 2004, 2005, 2007 Maciej W. Rozycki
* Copyright (C) 2000, 2001, 2012 MIPS Technologies, Inc. All rights reserved.
* Copyright (C) 2000, 2001, 2012 MIPS Technologies, Inc. All rights reserved.
* Copyright (C) 2014, Imagination Technologies Ltd.
*/
*/
#include <linux/bug.h>
#include <linux/bug.h>
#include <linux/compiler.h>
#include <linux/compiler.h>
...
@@ -876,14 +877,16 @@ asmlinkage void do_bp(struct pt_regs *regs)
...
@@ -876,14 +877,16 @@ asmlinkage void do_bp(struct pt_regs *regs)
opcode
=
(
instr
[
0
]
<<
16
)
|
instr
[
1
];
opcode
=
(
instr
[
0
]
<<
16
)
|
instr
[
1
];
}
else
{
}
else
{
/* MIPS16e mode */
/* MIPS16e mode */
if
(
__get_user
(
instr
[
0
],
(
u16
__user
*
)
msk_isa16_mode
(
epc
)))
if
(
__get_user
(
instr
[
0
],
(
u16
__user
*
)
msk_isa16_mode
(
epc
)))
goto
out_sigsegv
;
goto
out_sigsegv
;
bcode
=
(
instr
[
0
]
>>
6
)
&
0x3f
;
bcode
=
(
instr
[
0
]
>>
6
)
&
0x3f
;
do_trap_or_bp
(
regs
,
bcode
,
"Break"
);
do_trap_or_bp
(
regs
,
bcode
,
"Break"
);
goto
out
;
goto
out
;
}
}
}
else
{
}
else
{
if
(
__get_user
(
opcode
,
(
unsigned
int
__user
*
)
exception_epc
(
regs
)))
if
(
__get_user
(
opcode
,
(
unsigned
int
__user
*
)
exception_epc
(
regs
)))
goto
out_sigsegv
;
goto
out_sigsegv
;
}
}
...
...
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