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
5ee527d7
Commit
5ee527d7
authored
Apr 19, 2018
by
Eric W. Biederman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
signal/unicore32: Use send_sig_fault where appropriate
Signed-off-by:
"Eric W. Biederman"
<
ebiederm@xmission.com
>
parent
15773ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
arch/unicore32/kernel/fpu-ucf64.c
arch/unicore32/kernel/fpu-ucf64.c
+3
-9
No files found.
arch/unicore32/kernel/fpu-ucf64.c
View file @
5ee527d7
...
...
@@ -54,14 +54,6 @@
*/
void
ucf64_raise_sigfpe
(
struct
pt_regs
*
regs
)
{
siginfo_t
info
;
clear_siginfo
(
&
info
);
info
.
si_signo
=
SIGFPE
;
info
.
si_code
=
FPE_FLTUNK
;
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
...
...
@@ -69,7 +61,9 @@ void ucf64_raise_sigfpe(struct pt_regs *regs)
current
->
thread
.
error_code
=
0
;
current
->
thread
.
trap_no
=
6
;
send_sig_info
(
SIGFPE
,
&
info
,
current
);
send_sig_fault
(
SIGFPE
,
FPE_FLTUNK
,
(
void
__user
*
)(
instruction_pointer
(
regs
)
-
4
),
current
);
}
/*
...
...
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