internal.h 868 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. * smp.c
  29. */
  30. #ifdef CONFIG_SMP
  31. extern void smp_jump_to_debugger(void);
  32. #endif
  33. /*
  34. * time.c
  35. */
  36. extern irqreturn_t local_timer_interrupt(void);