git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
ppc
/
kernel
/
process.c
diff --git
a/arch/ppc/kernel/process.c
b/arch/ppc/kernel/process.c
index
2ea5053
..
f6d8cd3
100644
(file)
--- a/
arch/ppc/kernel/process.c
+++ b/
arch/ppc/kernel/process.c
@@
-479,9
+479,9
@@
void start_thread(struct pt_regs *regs, unsigned long nip, unsigned long sp)
regs->gpr[1] = sp;
regs->msr = MSR_USER;
if (last_task_used_math == current)
regs->gpr[1] = sp;
regs->msr = MSR_USER;
if (last_task_used_math == current)
- last_task_used_math =
NULL
;
+ last_task_used_math =
0
;
if (last_task_used_altivec == current)
if (last_task_used_altivec == current)
- last_task_used_altivec =
NULL
;
+ last_task_used_altivec =
0
;
memset(current->thread.fpr, 0, sizeof(current->thread.fpr));
current->thread.fpscr = 0;
#ifdef CONFIG_ALTIVEC
memset(current->thread.fpr, 0, sizeof(current->thread.fpr));
current->thread.fpscr = 0;
#ifdef CONFIG_ALTIVEC
@@
-544,7
+544,7
@@
int get_fpexc_mode(struct task_struct *tsk, unsigned long adr)
#endif
else
val = __unpack_fe01(tsk->thread.fpexc_mode);
#endif
else
val = __unpack_fe01(tsk->thread.fpexc_mode);
- return put_user(val, (unsigned int
__user
*) adr);
+ return put_user(val, (unsigned int *) adr);
}
int sys_clone(unsigned long clone_flags, unsigned long usp,
}
int sys_clone(unsigned long clone_flags, unsigned long usp,