David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 1 | /* Internal definitions for the arch part of the core kernel |
| 2 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public Licence |
| 8 | * as published by the Free Software Foundation; either version |
| 9 | * 2 of the Licence, or (at your option) any later version. |
| 10 | */ |
| 11 | |
Geert Uytterhoeven | 7a63091 | 2012-07-11 14:02:00 -0700 | [diff] [blame] | 12 | #include <linux/irqreturn.h> |
| 13 | |
Mark Salter | 730c1fa | 2010-10-27 17:28:57 +0100 | [diff] [blame] | 14 | struct clocksource; |
| 15 | struct clock_event_device; |
| 16 | |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 17 | /* |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 18 | * entry.S |
| 19 | */ |
| 20 | extern void ret_from_fork(struct task_struct *) __attribute__((noreturn)); |
Al Viro | 255461c | 2012-09-19 13:05:49 -0400 | [diff] [blame] | 21 | extern void ret_from_kernel_thread(struct task_struct *) __attribute__((noreturn)); |
Akira Takeuchi | 368dd5a | 2010-10-27 17:28:55 +0100 | [diff] [blame] | 22 | |
| 23 | /* |
| 24 | * smp-low.S |
| 25 | */ |
| 26 | #ifdef CONFIG_SMP |
| 27 | extern void mn10300_low_ipi_handler(void); |
| 28 | #endif |
| 29 | |
| 30 | /* |
David Howells | 67ddb40 | 2011-03-18 16:54:30 +0000 | [diff] [blame] | 31 | * smp.c |
| 32 | */ |
| 33 | #ifdef CONFIG_SMP |
| 34 | extern void smp_jump_to_debugger(void); |
| 35 | #endif |
| 36 | |
| 37 | /* |
Akira Takeuchi | 368dd5a | 2010-10-27 17:28:55 +0100 | [diff] [blame] | 38 | * time.c |
| 39 | */ |
| 40 | extern irqreturn_t local_timer_interrupt(void); |