diff options
Diffstat (limited to 'kernel/unwind.c')
-rw-r--r-- | kernel/unwind.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/unwind.c b/kernel/unwind.c index d36bcd3ad3b5..0421035272d9 100644 --- a/kernel/unwind.c +++ b/kernel/unwind.c | |||
@@ -885,14 +885,13 @@ EXPORT_SYMBOL(unwind_init_blocked); | |||
885 | * Prepare to unwind the currently running thread. | 885 | * Prepare to unwind the currently running thread. |
886 | */ | 886 | */ |
887 | int unwind_init_running(struct unwind_frame_info *info, | 887 | int unwind_init_running(struct unwind_frame_info *info, |
888 | asmlinkage void (*callback)(struct unwind_frame_info *, | 888 | asmlinkage int (*callback)(struct unwind_frame_info *, |
889 | void *arg), | 889 | void *arg), |
890 | void *arg) | 890 | void *arg) |
891 | { | 891 | { |
892 | info->task = current; | 892 | info->task = current; |
893 | arch_unwind_init_running(info, callback, arg); | ||
894 | 893 | ||
895 | return 0; | 894 | return arch_unwind_init_running(info, callback, arg); |
896 | } | 895 | } |
897 | EXPORT_SYMBOL(unwind_init_running); | 896 | EXPORT_SYMBOL(unwind_init_running); |
898 | 897 | ||