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
Kirill Smelkov
linux
Commits
b0594548
Commit
b0594548
authored
Apr 16, 2018
by
Eric W. Biederman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
signal/arm: Use send_sig_fault where appropriate
Signed-off-by:
"Eric W. Biederman"
<
ebiederm@xmission.com
>
parent
3ee6a449
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
arch/arm/vfp/vfpmodule.c
arch/arm/vfp/vfpmodule.c
+3
-8
No files found.
arch/arm/vfp/vfpmodule.c
View file @
b0594548
...
...
@@ -216,13 +216,6 @@ static struct notifier_block vfp_notifier_block = {
*/
static
void
vfp_raise_sigfpe
(
unsigned
int
sicode
,
struct
pt_regs
*
regs
)
{
siginfo_t
info
;
clear_siginfo
(
&
info
);
info
.
si_signo
=
SIGFPE
;
info
.
si_code
=
sicode
;
info
.
si_addr
=
(
void
__user
*
)(
instruction_pointer
(
regs
)
-
4
);
/*
* This is the same as NWFPE, because it's not clear what
* this is used for
...
...
@@ -230,7 +223,9 @@ static void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
current
->
thread
.
error_code
=
0
;
current
->
thread
.
trap_no
=
6
;
send_sig_info
(
SIGFPE
,
&
info
,
current
);
send_sig_fault
(
SIGFPE
,
sicode
,
(
void
__user
*
)(
instruction_pointer
(
regs
)
-
4
),
current
);
}
static
void
vfp_panic
(
char
*
reason
,
u32
inst
)
...
...
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