internal.h 923 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. * entry.S
  16. */
  17. extern void ret_from_fork(struct task_struct *) __attribute__((noreturn));
  18. extern void ret_from_kernel_thread(struct task_struct *) __attribute__((noreturn));
  19. /*
  20. * smp-low.S
  21. */
  22. #ifdef CONFIG_SMP
  23. extern void mn10300_low_ipi_handler(void);
  24. #endif
  25. /*
  26. * smp.c
  27. */
  28. #ifdef CONFIG_SMP
  29. extern void smp_jump_to_debugger(void);
  30. #endif
  31. /*
  32. * time.c
  33. */
  34. extern irqreturn_t local_timer_interrupt(void);