diff options
author | Becky Bruce <bgill@freescale.com> | 2006-02-07 21:27:34 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-02-10 16:51:56 +1100 |
commit | e19217d42e3d12d74d9eca40827721a3ef1b251c (patch) | |
tree | 14738f2de0967683b088470ec49fa3ab4e49cad2 /arch/powerpc/platforms/85xx/misc.c | |
parent | 46ed55f647371008c33e06e61459192f96cc24ca (diff) | |
download | op-kernel-dev-e19217d42e3d12d74d9eca40827721a3ef1b251c.zip op-kernel-dev-e19217d42e3d12d74d9eca40827721a3ef1b251c.tar.gz |
[PATCH] powerpc: rename mpc85xx.c to misc.c
Rename mpc85xx.c to misc.c to match the pattern established by the
8349 port - consistency is a good thing. Also run Lindent on the
file to clean it up.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/misc.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/misc.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/misc.c b/arch/powerpc/platforms/85xx/misc.c new file mode 100644 index 0000000..26c5e822 --- /dev/null +++ b/arch/powerpc/platforms/85xx/misc.c @@ -0,0 +1,31 @@ +/* + * MPC85xx generic code. + * + * Maintained by Kumar Gala (see MAINTAINERS for contact information) + * + * Copyright 2005 Freescale Semiconductor Inc. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ +#include <linux/irq.h> +#include <linux/module.h> +#include <asm/irq.h> + +extern void abort(void); + +void mpc85xx_restart(char *cmd) +{ + local_irq_disable(); + abort(); +} + +/* For now this is a pass through */ +phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size) +{ + return addr; +}; + +EXPORT_SYMBOL(fixup_bigphys_addr); |