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
338c8227
Commit
338c8227
authored
May 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Remove last_syscall, we can work the syscall out easily from
our symbolic backtrace.
parent
cb365512
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
7 deletions
+0
-7
arch/ppc64/kernel/entry.S
arch/ppc64/kernel/entry.S
+0
-1
arch/ppc64/kernel/mk_defs.c
arch/ppc64/kernel/mk_defs.c
+0
-1
arch/ppc64/kernel/process.c
arch/ppc64/kernel/process.c
+0
-3
include/asm-ppc64/processor.h
include/asm-ppc64/processor.h
+0
-2
No files found.
arch/ppc64/kernel/entry.S
View file @
338c8227
...
@@ -56,7 +56,6 @@ show_syscalls_task:
...
@@ -56,7 +56,6 @@ show_syscalls_task:
*
Handle
a
system
call
.
*
Handle
a
system
call
.
*/
*/
_GLOBAL
(
DoSyscall
)
_GLOBAL
(
DoSyscall
)
std
r0
,
THREAD
+
LAST_SYSCALL
(
r13
)
ld
r11
,
_CCR
(
r1
)
/*
Clear
SO
bit
in
CR
*/
ld
r11
,
_CCR
(
r1
)
/*
Clear
SO
bit
in
CR
*/
lis
r10
,
0x1000
lis
r10
,
0x1000
andc
r11
,
r11
,
r10
andc
r11
,
r11
,
r10
...
...
arch/ppc64/kernel/mk_defs.c
View file @
338c8227
...
@@ -52,7 +52,6 @@ main(void)
...
@@ -52,7 +52,6 @@ main(void)
/* task_struct->thread */
/* task_struct->thread */
DEFINE
(
THREAD
,
offsetof
(
struct
task_struct
,
thread
));
DEFINE
(
THREAD
,
offsetof
(
struct
task_struct
,
thread
));
DEFINE
(
LAST_SYSCALL
,
offsetof
(
struct
thread_struct
,
last_syscall
));
DEFINE
(
PT_REGS
,
offsetof
(
struct
thread_struct
,
regs
));
DEFINE
(
PT_REGS
,
offsetof
(
struct
thread_struct
,
regs
));
DEFINE
(
THREAD_FPR0
,
offsetof
(
struct
thread_struct
,
fpr
[
0
]));
DEFINE
(
THREAD_FPR0
,
offsetof
(
struct
thread_struct
,
fpr
[
0
]));
DEFINE
(
THREAD_FPSCR
,
offsetof
(
struct
thread_struct
,
fpscr
));
DEFINE
(
THREAD_FPSCR
,
offsetof
(
struct
thread_struct
,
fpscr
));
...
...
arch/ppc64/kernel/process.c
View file @
338c8227
...
@@ -117,7 +117,6 @@ void show_regs(struct pt_regs * regs)
...
@@ -117,7 +117,6 @@ void show_regs(struct pt_regs * regs)
regs
->
msr
&
MSR_DR
?
1
:
0
);
regs
->
msr
&
MSR_DR
?
1
:
0
);
printk
(
"TASK = %p[%d] '%s' "
,
printk
(
"TASK = %p[%d] '%s' "
,
current
,
current
->
pid
,
current
->
comm
);
current
,
current
->
pid
,
current
->
comm
);
printk
(
"Last syscall: %ld "
,
current
->
thread
.
last_syscall
);
printk
(
"
\n
last math %p "
,
last_task_used_math
);
printk
(
"
\n
last math %p "
,
last_task_used_math
);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
...
@@ -223,8 +222,6 @@ copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
...
@@ -223,8 +222,6 @@ copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
memcpy
(
&
p
->
thread
.
fpr
,
&
current
->
thread
.
fpr
,
sizeof
(
p
->
thread
.
fpr
));
memcpy
(
&
p
->
thread
.
fpr
,
&
current
->
thread
.
fpr
,
sizeof
(
p
->
thread
.
fpr
));
p
->
thread
.
fpscr
=
current
->
thread
.
fpscr
;
p
->
thread
.
fpscr
=
current
->
thread
.
fpscr
;
p
->
thread
.
last_syscall
=
-
1
;
return
0
;
return
0
;
}
}
...
...
include/asm-ppc64/processor.h
View file @
338c8227
...
@@ -651,7 +651,6 @@ struct thread_struct {
...
@@ -651,7 +651,6 @@ struct thread_struct {
unsigned
long
ksp
;
/* Kernel stack pointer */
unsigned
long
ksp
;
/* Kernel stack pointer */
struct
pt_regs
*
regs
;
/* Pointer to saved register state */
struct
pt_regs
*
regs
;
/* Pointer to saved register state */
mm_segment_t
fs
;
/* for get_fs() validation */
mm_segment_t
fs
;
/* for get_fs() validation */
signed
long
last_syscall
;
double
fpr
[
32
];
/* Complete floating point set */
double
fpr
[
32
];
/* Complete floating point set */
unsigned
long
fpscr
;
/* Floating point status */
unsigned
long
fpscr
;
/* Floating point status */
};
};
...
@@ -662,7 +661,6 @@ struct thread_struct {
...
@@ -662,7 +661,6 @@ struct thread_struct {
INIT_SP,
/* ksp */
\
INIT_SP,
/* ksp */
\
(struct pt_regs *)INIT_SP - 1,
/* regs */
\
(struct pt_regs *)INIT_SP - 1,
/* regs */
\
KERNEL_DS,
/*fs*/
\
KERNEL_DS,
/*fs*/
\
0,
/* last_syscall */
\
{0},
/* fpr */
\
{0},
/* fpr */
\
0
/* fpscr */
\
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