internal.h 1020 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. struct clocksource;
  12. struct clock_event_device;
  13. /*
  14. * kthread.S
  15. */
  16. extern int kernel_thread_helper(int);
  17. /*
  18. * entry.S
  19. */
  20. extern void ret_from_fork(struct task_struct *) __attribute__((noreturn));
  21. /*
  22. * smp-low.S
  23. */
  24. #ifdef CONFIG_SMP
  25. extern void mn10300_low_ipi_handler(void);
  26. #endif
  27. /*
  28. * time.c
  29. */
  30. extern irqreturn_t local_timer_interrupt(void);
  31. /*
  32. * time.c
  33. */
  34. #ifdef CONFIG_CEVT_MN10300
  35. extern void clockevent_set_clock(struct clock_event_device *, unsigned int);
  36. #endif
  37. #ifdef CONFIG_CSRC_MN10300
  38. extern void clocksource_set_clock(struct clocksource *, unsigned int);
  39. #endif