Remove left over code from commit 970e51feaddb
(um: Add support for CONFIG_STACKTRACE)

Signed-off-by: Richard Weinberger <rich...@nod.at>
---
 arch/um/kernel/sysrq.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c
index 894c8d3..aa1b56f 100644
--- a/arch/um/kernel/sysrq.c
+++ b/arch/um/kernel/sysrq.c
@@ -29,7 +29,7 @@ static const struct stacktrace_ops stackops = {
 
 void show_stack(struct task_struct *task, unsigned long *stack)
 {
-       unsigned long *sp = stack, bp = 0;
+       unsigned long *sp = stack;
        struct pt_regs *segv_regs = current->thread.segv_regs;
        int i;
 
@@ -39,10 +39,6 @@ void show_stack(struct task_struct *task, unsigned long 
*stack)
                return;
        }
 
-#ifdef CONFIG_FRAME_POINTER
-       bp = get_frame_pointer(task, segv_regs);
-#endif
-
        if (!stack)
                sp = get_stack_pointer(task, segv_regs);
 
-- 
1.8.4.5


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to