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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
m32r
/
kernel
/
process.c
diff --git
a/arch/m32r/kernel/process.c
b/arch/m32r/kernel/process.c
index
065f5e7
..
95acb57
100644
(file)
--- a/
arch/m32r/kernel/process.c
+++ b/
arch/m32r/kernel/process.c
@@
-21,7
+21,6
@@
*/
#include <linux/fs.h>
*/
#include <linux/fs.h>
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
#include <linux/module.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
@@
-175,7
+174,7
@@
void show_regs(struct pt_regs * regs)
regs->acc1h, regs->acc1l);
#elif defined(CONFIG_ISA_M32R2) || defined(CONFIG_ISA_M32R)
printk("ACCH[%08lx]:ACCL[%08lx]\n", \
regs->acc1h, regs->acc1l);
#elif defined(CONFIG_ISA_M32R2) || defined(CONFIG_ISA_M32R)
printk("ACCH[%08lx]:ACCL[%08lx]\n", \
- regs->acc
h, regs->acc
l);
+ regs->acc
0h, regs->acc0
l);
#else
#error unknown isa configuration
#endif
#else
#error unknown isa configuration
#endif
@@
-212,8
+211,8
@@
int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
regs.psw = M32R_PSW_BIE;
/* Ok, create the new process. */
regs.psw = M32R_PSW_BIE;
/* Ok, create the new process. */
- return do_fork(flags | CLONE_VM | CLONE_UNTRACED
, 0, ®s, 0, NULL
,
- NULL);
+ return do_fork(flags | CLONE_VM | CLONE_UNTRACED
| CLONE_KTHREAD
,
+
0, ®s, 0, NULL,
NULL);
}
/*
}
/*