diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/unwind.h | 8 | ||||
-rw-r--r-- | include/asm-x86_64/unwind.h | 8 | ||||
-rw-r--r-- | include/linux/unwind.h | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/include/asm-i386/unwind.h b/include/asm-i386/unwind.h index 1c076897ac21..d480f2e38215 100644 --- a/include/asm-i386/unwind.h +++ b/include/asm-i386/unwind.h | |||
@@ -66,10 +66,10 @@ static inline void arch_unw_init_blocked(struct unwind_frame_info *info) | |||
66 | info->regs.xes = __USER_DS; | 66 | info->regs.xes = __USER_DS; |
67 | } | 67 | } |
68 | 68 | ||
69 | extern asmlinkage void arch_unwind_init_running(struct unwind_frame_info *, | 69 | extern asmlinkage int arch_unwind_init_running(struct unwind_frame_info *, |
70 | asmlinkage void (*callback)(struct unwind_frame_info *, | 70 | asmlinkage int (*callback)(struct unwind_frame_info *, |
71 | void *arg), | 71 | void *arg), |
72 | void *arg); | 72 | void *arg); |
73 | 73 | ||
74 | static inline int arch_unw_user_mode(const struct unwind_frame_info *info) | 74 | static inline int arch_unw_user_mode(const struct unwind_frame_info *info) |
75 | { | 75 | { |
diff --git a/include/asm-x86_64/unwind.h b/include/asm-x86_64/unwind.h index 4f61de246179..f3e7124effe3 100644 --- a/include/asm-x86_64/unwind.h +++ b/include/asm-x86_64/unwind.h | |||
@@ -75,10 +75,10 @@ static inline void arch_unw_init_blocked(struct unwind_frame_info *info) | |||
75 | info->regs.ss = __KERNEL_DS; | 75 | info->regs.ss = __KERNEL_DS; |
76 | } | 76 | } |
77 | 77 | ||
78 | extern void arch_unwind_init_running(struct unwind_frame_info *, | 78 | extern int arch_unwind_init_running(struct unwind_frame_info *, |
79 | void (*callback)(struct unwind_frame_info *, | 79 | int (*callback)(struct unwind_frame_info *, |
80 | void *arg), | 80 | void *arg), |
81 | void *arg); | 81 | void *arg); |
82 | 82 | ||
83 | static inline int arch_unw_user_mode(const struct unwind_frame_info *info) | 83 | static inline int arch_unw_user_mode(const struct unwind_frame_info *info) |
84 | { | 84 | { |
diff --git a/include/linux/unwind.h b/include/linux/unwind.h index 0295aa789ab4..13c7b2cd87ce 100644 --- a/include/linux/unwind.h +++ b/include/linux/unwind.h | |||
@@ -49,8 +49,8 @@ extern int unwind_init_blocked(struct unwind_frame_info *, | |||
49 | * Prepare to unwind the currently running thread. | 49 | * Prepare to unwind the currently running thread. |
50 | */ | 50 | */ |
51 | extern int unwind_init_running(struct unwind_frame_info *, | 51 | extern int unwind_init_running(struct unwind_frame_info *, |
52 | asmlinkage void (*callback)(struct unwind_frame_info *, | 52 | asmlinkage int (*callback)(struct unwind_frame_info *, |
53 | void *arg), | 53 | void *arg), |
54 | void *arg); | 54 | void *arg); |
55 | 55 | ||
56 | /* | 56 | /* |
@@ -97,8 +97,8 @@ static inline int unwind_init_blocked(struct unwind_frame_info *info, | |||
97 | } | 97 | } |
98 | 98 | ||
99 | static inline int unwind_init_running(struct unwind_frame_info *info, | 99 | static inline int unwind_init_running(struct unwind_frame_info *info, |
100 | asmlinkage void (*cb)(struct unwind_frame_info *, | 100 | asmlinkage int (*cb)(struct unwind_frame_info *, |
101 | void *arg), | 101 | void *arg), |
102 | void *arg) | 102 | void *arg) |
103 | { | 103 | { |
104 | return -ENOSYS; | 104 | return -ENOSYS; |