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
vserver 1.9.3
[linux-2.6.git]
/
arch
/
parisc
/
kernel
/
process.c
diff --git
a/arch/parisc/kernel/process.c
b/arch/parisc/kernel/process.c
index
f04dea6
..
d7365b9
100644
(file)
--- a/
arch/parisc/kernel/process.c
+++ b/
arch/parisc/kernel/process.c
@@
-262,7
+262,7
@@
sys_clone(unsigned long clone_flags, unsigned long usp,
if(usp == 0)
usp = regs->gr[30];
if(usp == 0)
usp = regs->gr[30];
- return do_fork(clone_flags
& ~CLONE_IDLETASK
, usp, regs, 0, user_tid, NULL);
+ return do_fork(clone_flags, usp, regs, 0, user_tid, NULL);
}
int
}
int
@@
-380,18
+380,14
@@
get_wchan(struct task_struct *p)
/*
* These bracket the sleeping functions..
*/
/*
* These bracket the sleeping functions..
*/
-# define first_sched ((unsigned long) scheduling_functions_start_here)
-# define last_sched ((unsigned long) scheduling_functions_end_here)
unwind_frame_init_from_blocked_task(&info, p);
do {
if (unwind_once(&info) < 0)
return 0;
ip = info.ip;
unwind_frame_init_from_blocked_task(&info, p);
do {
if (unwind_once(&info) < 0)
return 0;
ip = info.ip;
- if (
ip < first_sched || ip >= last_sched
)
+ if (
!in_sched_functions(ip)
)
return ip;
} while (count++ < 16);
return 0;
return ip;
} while (count++ < 16);
return 0;
-# undef first_sched
-# undef last_sched
}
}