Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
arch
/
arm
/
kernel
/
ptrace.c
diff --git
a/kernel/arch/arm/kernel/ptrace.c
b/kernel/arch/arm/kernel/ptrace.c
index
ef9119f
..
d54c53b
100644
(file)
--- a/
kernel/arch/arm/kernel/ptrace.c
+++ b/
kernel/arch/arm/kernel/ptrace.c
@@
-600,7
+600,7
@@
static int gpr_set(struct task_struct *target,
const void *kbuf, const void __user *ubuf)
{
int ret;
const void *kbuf, const void __user *ubuf)
{
int ret;
- struct pt_regs newregs;
+ struct pt_regs newregs
= *task_pt_regs(target)
;
ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
&newregs,
ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
&newregs,
@@
-733,8
+733,8
@@
static int vfp_set(struct task_struct *target,
if (ret)
return ret;
if (ret)
return ret;
- vfp_flush_hwstate(thread);
thread->vfpstate.hard = new_vfp;
thread->vfpstate.hard = new_vfp;
+ vfp_flush_hwstate(thread);
return 0;
}
return 0;
}