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
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
arch
/
frv
/
kernel
/
process.c
diff --git
a/arch/frv/kernel/process.c
b/arch/frv/kernel/process.c
index
515a5ce
..
0fff8a6
100644
(file)
--- a/
arch/frv/kernel/process.c
+++ b/
arch/frv/kernel/process.c
@@
-10,7
+10,7
@@
* 2 of the License, or (at your option) any later version.
*/
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/
module
.h>
+#include <linux/
config
.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
@@
-26,7
+26,6
@@
#include <linux/reboot.h>
#include <linux/interrupt.h>
#include <linux/reboot.h>
#include <linux/interrupt.h>
-#include <asm/asm-offsets.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/setup.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/setup.h>
@@
-40,9
+39,6
@@
asmlinkage void ret_from_fork(void);
#include <asm/pgalloc.h>
#include <asm/pgalloc.h>
-void (*pm_power_off)(void);
-EXPORT_SYMBOL(pm_power_off);
-
struct task_struct *alloc_task_struct(void)
{
struct task_struct *p = kmalloc(THREAD_SIZE, GFP_KERNEL);
struct task_struct *alloc_task_struct(void)
{
struct task_struct *p = kmalloc(THREAD_SIZE, GFP_KERNEL);
@@
-208,7
+204,7
@@
int copy_thread(int nr, unsigned long clone_flags,
regs0 = __kernel_frame0_ptr;
childregs0 = (struct pt_regs *)
regs0 = __kernel_frame0_ptr;
childregs0 = (struct pt_regs *)
- (task_stack_page(p) + THREAD_SIZE -
FRV_FRAME0
_SIZE);
+ (task_stack_page(p) + THREAD_SIZE -
USER_CONTEXT
_SIZE);
childregs = childregs0;
/* set up the userspace frame (the only place that the USP is stored) */
childregs = childregs0;
/* set up the userspace frame (the only place that the USP is stored) */
@@
-250,7
+246,7
@@
int copy_thread(int nr, unsigned long clone_flags,
/*
* sys_execve() executes a new program.
*/
/*
* sys_execve() executes a new program.
*/
-asmlinkage int sys_execve(char
__user *name, char __user * __user *argv, char __user * __user
*envp)
+asmlinkage int sys_execve(char
*name, char **argv, char *
*envp)
{
int error;
char * filename;
{
int error;
char * filename;
@@
-372,11
+368,3
@@
int elf_check_arch(const struct elf32_hdr *hdr)
return 1;
}
return 1;
}
-
-int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
-{
- memcpy(fpregs,
- ¤t->thread.user->f,
- sizeof(current->thread.user->f));
- return 1;
-}