internal.h 898 B

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