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
cd112674
Commit
cd112674
authored
May 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: prevsp is not used any more
remove fpscr_pad, not required on 64 bit
parent
ec5a5b68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
arch/ppc64/kernel/signal.c
arch/ppc64/kernel/signal.c
+0
-2
include/asm-ppc64/processor.h
include/asm-ppc64/processor.h
+3
-3
No files found.
arch/ppc64/kernel/signal.c
View file @
cd112674
...
...
@@ -247,7 +247,6 @@ int sys_rt_sigreturn(unsigned long r3, unsigned long r4, unsigned long r5,
elf_gregset_t
saved_regs
;
/* an array of ELF_NGREG unsigned longs */
sigset_t
set
;
stack_t
st
;
unsigned
long
prevsp
;
rt_sf
=
(
struct
rt_sigframe
*
)(
regs
->
gpr
[
1
]
+
__SIGNAL_FRAMESIZE
);
if
(
copy_from_user
(
&
sigctx
,
&
rt_sf
->
uc
.
uc_mcontext
,
sizeof
(
sigctx
))
...
...
@@ -364,7 +363,6 @@ long sys_sigreturn(unsigned long r3, unsigned long r4, unsigned long r5,
struct
sigregs
*
sr
;
elf_gregset_t
saved_regs
;
/* an array of ELF_NGREG unsigned longs */
sigset_t
set
;
unsigned
long
prevsp
;
sc
=
(
struct
sigcontext_struct
*
)(
regs
->
gpr
[
1
]
+
__SIGNAL_FRAMESIZE
);
if
(
copy_from_user
(
&
sigctx
,
sc
,
sizeof
(
sigctx
)))
...
...
include/asm-ppc64/processor.h
View file @
cd112674
...
...
@@ -97,7 +97,7 @@
#define FPSCR_VX 0x20000000
/* Invalid operation summary */
#define FPSCR_OX 0x10000000
/* Overflow exception summary */
#define FPSCR_UX 0x08000000
/* Underflow exception summary */
#define FPSCR_ZX 0x04000000
/* Zero-d
e
vide exception summary */
#define FPSCR_ZX 0x04000000
/* Zero-d
i
vide exception summary */
#define FPSCR_XX 0x02000000
/* Inexact exception summary */
#define FPSCR_VXSNAN 0x01000000
/* Invalid op for SNaN */
#define FPSCR_VXISI 0x00800000
/* Invalid op for Inv - Inv */
...
...
@@ -653,7 +653,6 @@ struct thread_struct {
mm_segment_t
fs
;
/* for get_fs() validation */
signed
long
last_syscall
;
double
fpr
[
32
];
/* Complete floating point set */
unsigned
long
fpscr_pad
;
/* fpr ... fpscr must be contiguous */
unsigned
long
fpscr
;
/* Floating point status */
};
...
...
@@ -664,7 +663,8 @@ struct thread_struct {
(struct pt_regs *)INIT_SP - 1,
/* regs */
\
KERNEL_DS,
/*fs*/
\
0,
/* last_syscall */
\
{0}, 0, 0 \
{0},
/* fpr */
\
0
/* fpscr */
\
}
/*
...
...
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