diff options
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r-- | arch/arm/kernel/process.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 0d96d0171c05..ba2adefa53f7 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -212,7 +212,8 @@ void __show_regs(struct pt_regs *regs) | |||
212 | char buf[64]; | 212 | char buf[64]; |
213 | 213 | ||
214 | printk("CPU: %d %s (%s %.*s)\n", | 214 | printk("CPU: %d %s (%s %.*s)\n", |
215 | smp_processor_id(), print_tainted(), init_utsname()->release, | 215 | raw_smp_processor_id(), print_tainted(), |
216 | init_utsname()->release, | ||
216 | (int)strcspn(init_utsname()->version, " "), | 217 | (int)strcspn(init_utsname()->version, " "), |
217 | init_utsname()->version); | 218 | init_utsname()->version); |
218 | print_symbol("PC is at %s\n", instruction_pointer(regs)); | 219 | print_symbol("PC is at %s\n", instruction_pointer(regs)); |
@@ -274,17 +275,18 @@ void show_regs(struct pt_regs * regs) | |||
274 | __backtrace(); | 275 | __backtrace(); |
275 | } | 276 | } |
276 | 277 | ||
278 | ATOMIC_NOTIFIER_HEAD(thread_notify_head); | ||
279 | |||
280 | EXPORT_SYMBOL_GPL(thread_notify_head); | ||
281 | |||
277 | /* | 282 | /* |
278 | * Free current thread data structures etc.. | 283 | * Free current thread data structures etc.. |
279 | */ | 284 | */ |
280 | void exit_thread(void) | 285 | void exit_thread(void) |
281 | { | 286 | { |
287 | thread_notify(THREAD_NOTIFY_EXIT, current_thread_info()); | ||
282 | } | 288 | } |
283 | 289 | ||
284 | ATOMIC_NOTIFIER_HEAD(thread_notify_head); | ||
285 | |||
286 | EXPORT_SYMBOL_GPL(thread_notify_head); | ||
287 | |||
288 | void flush_thread(void) | 290 | void flush_thread(void) |
289 | { | 291 | { |
290 | struct thread_info *thread = current_thread_info(); | 292 | struct thread_info *thread = current_thread_info(); |
@@ -299,9 +301,6 @@ void flush_thread(void) | |||
299 | 301 | ||
300 | void release_thread(struct task_struct *dead_task) | 302 | void release_thread(struct task_struct *dead_task) |
301 | { | 303 | { |
302 | struct thread_info *thread = task_thread_info(dead_task); | ||
303 | |||
304 | thread_notify(THREAD_NOTIFY_RELEASE, thread); | ||
305 | } | 304 | } |
306 | 305 | ||
307 | asmlinkage void ret_from_fork(void) __asm__("ret_from_fork"); | 306 | asmlinkage void ret_from_fork(void) __asm__("ret_from_fork"); |