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
f5598943
Commit
f5598943
authored
Feb 10, 2005
by
Alexander Viro
Committed by
David S. Miller
Feb 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Trivial annotations in sparc signal.c / svr4.h
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
f3ac72a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
arch/sparc/kernel/signal.c
arch/sparc/kernel/signal.c
+2
-2
include/asm-sparc/svr4.h
include/asm-sparc/svr4.h
+3
-3
No files found.
arch/sparc/kernel/signal.c
View file @
f5598943
...
...
@@ -535,7 +535,7 @@ setup_frame(struct sigaction *sa, struct pt_regs *regs, int signr, sigset_t *old
sig_address
=
NULL
;
}
}
err
|=
__put_user
((
long
)
sig_address
,
&
sframep
->
sig_address
);
err
|=
__put_user
((
unsigned
long
)
sig_address
,
&
sframep
->
sig_address
);
err
|=
__put_user
(
sig_code
,
&
sframep
->
sig_code
);
err
|=
__put_user
(
sc
,
&
sframep
->
sig_scptr
);
if
(
err
)
...
...
@@ -832,7 +832,7 @@ setup_svr4_frame(struct sigaction *sa, unsigned long pc, unsigned long npc,
* to flush the user windows.
*/
for
(
window
=
0
;
window
<
tp
->
w_saved
;
window
++
)
{
err
|=
__put_user
((
int
*
)
&
(
gw
->
win
[
window
]),
&
gw
->
winptr
[
window
]);
err
|=
__put_user
((
int
__user
*
)
&
(
gw
->
win
[
window
]),
&
gw
->
winptr
[
window
]);
err
|=
__copy_to_user
(
&
gw
->
win
[
window
],
&
tp
->
reg_window
[
window
],
sizeof
(
svr4_rwindow_t
));
...
...
include/asm-sparc/svr4.h
View file @
f5598943
...
...
@@ -49,7 +49,7 @@ typedef struct {
typedef
struct
{
int
count
;
int
*
winptr
[
SVR4_MAXWIN
];
/* pointer to the windows */
int
__user
*
winptr
[
SVR4_MAXWIN
];
/* pointer to the windows */
svr4_rwindow_t
win
[
SVR4_MAXWIN
];
/* the windows */
}
svr4_gwindows_t
;
...
...
@@ -72,7 +72,7 @@ typedef struct {
/* Machine dependent context */
typedef
struct
{
svr4_gregset_t
greg
;
/* registers 0..19 (see top) */
svr4_gwindows_t
*
gwin
;
/* may point to register windows */
svr4_gwindows_t
__user
*
gwin
;
/* may point to register windows */
svr4_fregset_t
freg
;
/* floating point registers */
svr4_xrs_t
xrs
;
/* mhm? */
long
pad
[
19
];
...
...
@@ -86,7 +86,7 @@ enum svr4_stack_flags {
/* signal stack exection place, unsupported */
typedef
struct
svr4_stack_t
{
char
*
sp
;
char
__user
*
sp
;
int
size
;
int
flags
;
}
svr4_stack_t
;
...
...
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