misc.c 741 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * MPC85xx generic code.
  3. *
  4. * Maintained by Kumar Gala (see MAINTAINERS for contact information)
  5. *
  6. * Copyright 2005 Freescale Semiconductor Inc.
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. #include <linux/irq.h>
  14. #include <linux/module.h>
  15. #include <asm/irq.h>
  16. extern void abort(void);
  17. void mpc85xx_restart(char *cmd)
  18. {
  19. local_irq_disable();
  20. abort();
  21. }
  22. /* For now this is a pass through */
  23. phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
  24. {
  25. return addr;
  26. };
  27. EXPORT_SYMBOL(fixup_bigphys_addr);