Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[sfrench/cifs-2.6.git] / arch / powerpc / platforms / 85xx / misc.c
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
17 extern void abort(void);
18
19 void mpc85xx_restart(char *cmd)
20 {
21         local_irq_disable();
22         abort();
23 }
24
25 /* For now this is a pass through */
26 phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
27 {
28         return addr;
29 };
30
31 EXPORT_SYMBOL(fixup_bigphys_addr);