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
/
um
/
kernel
/
sysrq.c
diff --git
a/arch/um/kernel/sysrq.c
b/arch/um/kernel/sysrq.c
index
f808500
..
239c980
100644
(file)
--- a/
arch/um/kernel/sysrq.c
+++ b/
arch/um/kernel/sysrq.c
@@
-3,7
+3,6
@@
* Licensed under the GPL
*/
* Licensed under the GPL
*/
-#include "linux/config.h"
#include "linux/sched.h"
#include "linux/kernel.h"
#include "linux/module.h"
#include "linux/sched.h"
#include "linux/kernel.h"
#include "linux/module.h"
@@
-62,13
+61,7
@@
void show_stack(struct task_struct *task, unsigned long *esp)
if (esp == NULL) {
if (task != current && task != NULL) {
if (esp == NULL) {
if (task != current && task != NULL) {
- /* XXX: Isn't this bogus? I.e. isn't this the
- * *userspace* stack of this task? If not so, use this
- * even when task == current (as in i386).
- */
esp = (unsigned long *) KSTK_ESP(task);
esp = (unsigned long *) KSTK_ESP(task);
- /* Which one? No actual difference - just coding style.*/
- //esp = (unsigned long *) PT_REGS_IP(&task->thread.regs);
} else {
esp = (unsigned long *) &esp;
}
} else {
esp = (unsigned long *) &esp;
}
@@
-84,5
+77,5
@@
void show_stack(struct task_struct *task, unsigned long *esp)
}
printk("Call Trace: \n");
}
printk("Call Trace: \n");
- show_trace(
current
, esp);
+ show_trace(
task
, esp);
}
}