blob: 6a064ab5af0774b15887d9432209a9e2f9abe208 [file] [log] [blame]
David Howellsb920de12008-02-08 04:19:31 -08001/* 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
Mark Salter730c1fa2010-10-27 17:28:57 +010012struct clocksource;
13struct clock_event_device;
14
David Howellsb920de12008-02-08 04:19:31 -080015/*
16 * kthread.S
17 */
18extern int kernel_thread_helper(int);
19
20/*
21 * entry.S
22 */
23extern void ret_from_fork(struct task_struct *) __attribute__((noreturn));
Akira Takeuchi368dd5a2010-10-27 17:28:55 +010024
25/*
26 * smp-low.S
27 */
28#ifdef CONFIG_SMP
29extern void mn10300_low_ipi_handler(void);
30#endif
31
32/*
33 * time.c
34 */
35extern irqreturn_t local_timer_interrupt(void);
Mark Salter730c1fa2010-10-27 17:28:57 +010036
37/*
38 * time.c
39 */
40#ifdef CONFIG_CEVT_MN10300
41extern void clockevent_set_clock(struct clock_event_device *, unsigned int);
42#endif
43#ifdef CONFIG_CSRC_MN10300
44extern void clocksource_set_clock(struct clocksource *, unsigned int);
45#endif