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
37cd3454
Commit
37cd3454
authored
May 08, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: signal formatting cleanups
parent
bbb3572b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
30 deletions
+27
-30
arch/ppc64/kernel/signal.c
arch/ppc64/kernel/signal.c
+27
-30
No files found.
arch/ppc64/kernel/signal.c
View file @
37cd3454
...
@@ -218,8 +218,6 @@ struct sigregs {
...
@@ -218,8 +218,6 @@ struct sigregs {
int
abigap
[
72
];
int
abigap
[
72
];
};
};
struct
rt_sigframe
struct
rt_sigframe
{
{
unsigned
long
_unused
[
2
];
unsigned
long
_unused
[
2
];
...
@@ -503,7 +501,7 @@ setup_frame(struct pt_regs *regs, struct sigregs *frame,
...
@@ -503,7 +501,7 @@ setup_frame(struct pt_regs *regs, struct sigregs *frame,
return
;
return
;
badframe:
badframe:
#if DEBUG_SIG
#if DEBUG_SIG
printk
(
"badframe in setup_frame, regs=%p frame=%p newsp=%lx
\n
"
,
printk
(
"badframe in setup_frame, regs=%p frame=%p newsp=%lx
\n
"
,
regs
,
frame
,
newsp
);
regs
,
frame
,
newsp
);
...
@@ -536,7 +534,6 @@ handle_signal(unsigned long sig, struct k_sigaction *ka,
...
@@ -536,7 +534,6 @@ handle_signal(unsigned long sig, struct k_sigaction *ka,
if
(
verify_area
(
VERIFY_WRITE
,
rt_sf
,
sizeof
(
*
rt_sf
)))
if
(
verify_area
(
VERIFY_WRITE
,
rt_sf
,
sizeof
(
*
rt_sf
)))
goto
badframe
;
goto
badframe
;
if
(
__put_user
((
unsigned
long
)
ka
->
sa
.
sa_handler
,
&
rt_sf
->
uc
.
uc_mcontext
.
handler
)
if
(
__put_user
((
unsigned
long
)
ka
->
sa
.
sa_handler
,
&
rt_sf
->
uc
.
uc_mcontext
.
handler
)
||
__put_user
(
&
rt_sf
->
info
,
&
rt_sf
->
pinfo
)
||
__put_user
(
&
rt_sf
->
info
,
&
rt_sf
->
pinfo
)
||
__put_user
(
&
rt_sf
->
uc
,
&
rt_sf
->
puc
)
||
__put_user
(
&
rt_sf
->
uc
,
&
rt_sf
->
puc
)
...
...
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