diff options
Diffstat (limited to 'ANDROID_3.4.5/arch/microblaze/kernel/stacktrace.c')
-rw-r--r-- | ANDROID_3.4.5/arch/microblaze/kernel/stacktrace.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/ANDROID_3.4.5/arch/microblaze/kernel/stacktrace.c b/ANDROID_3.4.5/arch/microblaze/kernel/stacktrace.c deleted file mode 100644 index 84bc6686..00000000 --- a/ANDROID_3.4.5/arch/microblaze/kernel/stacktrace.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Stack trace support for Microblaze. - * - * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> - * Copyright (C) 2009 PetaLogix - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#include <linux/sched.h> -#include <linux/stacktrace.h> -#include <linux/thread_info.h> -#include <linux/ptrace.h> -#include <linux/module.h> -#include <asm/unwind.h> - -void save_stack_trace(struct stack_trace *trace) -{ - /* Exclude our helper functions from the trace*/ - trace->skip += 2; - microblaze_unwind(NULL, trace); -} -EXPORT_SYMBOL_GPL(save_stack_trace); - -void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) -{ - microblaze_unwind(tsk, trace); -} -EXPORT_SYMBOL_GPL(save_stack_trace_tsk); |