Merge branch 'master' into upstream
[pandora-kernel.git] / arch / mn10300 / kernel / internal.h
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
12 struct clocksource;
13 struct clock_event_device;
14
15 /*
16  * kthread.S
17  */
18 extern int kernel_thread_helper(int);
19
20 /*
21  * entry.S
22  */
23 extern void ret_from_fork(struct task_struct *) __attribute__((noreturn));
24
25 /*
26  * smp-low.S
27  */
28 #ifdef CONFIG_SMP
29 extern void mn10300_low_ipi_handler(void);
30 #endif
31
32 /*
33  * time.c
34  */
35 extern irqreturn_t local_timer_interrupt(void);
36
37 /*
38  * time.c
39  */
40 #ifdef CONFIG_CEVT_MN10300
41 extern void clockevent_set_clock(struct clock_event_device *, unsigned int);
42 #endif
43 #ifdef CONFIG_CSRC_MN10300
44 extern void clocksource_set_clock(struct clocksource *, unsigned int);
45 #endif