internal.h 909 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
/* Internal definitions for the arch part of the core kernel
 *
 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public Licence
 * as published by the Free Software Foundation; either version
 * 2 of the Licence, or (at your option) any later version.
 */

M
Mark Salter 已提交
12 13 14
struct clocksource;
struct clock_event_device;

15 16 17 18 19 20 21 22 23
/*
 * kthread.S
 */
extern int kernel_thread_helper(int);

/*
 * entry.S
 */
extern void ret_from_fork(struct task_struct *) __attribute__((noreturn));
24 25 26 27 28 29 30 31 32 33 34 35

/*
 * smp-low.S
 */
#ifdef CONFIG_SMP
extern void mn10300_low_ipi_handler(void);
#endif

/*
 * time.c
 */
extern irqreturn_t local_timer_interrupt(void);
M
Mark Salter 已提交
36 37 38 39 40 41 42

/*
 * time.c
 */
#ifdef CONFIG_CSRC_MN10300
extern void clocksource_set_clock(struct clocksource *, unsigned int);
#endif