aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/82xx/mpc82xx_ads.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-08-27 16:56:43 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-10-04 11:02:24 -0500
commit4ff62e1c7f5263427e742069235d94ba1336960d (patch)
treeb1fd9ca3c09b04fd1c00e8dbfc4ac86589592f48 /arch/powerpc/platforms/82xx/mpc82xx_ads.c
parent11af1192b75307e4099dd962b3b97b255d5ab023 (diff)
[POWERPC] mpc82xx: Remove a bunch of cruft that duplicates generic functionality.
m82xx_calibrate_decr(), mpc82xx_ads_show_cpuinfo(), and mpc82xx_halt() do anything useful beyond what the generic code does. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/82xx/mpc82xx_ads.c')
-rw-r--r--arch/powerpc/platforms/82xx/mpc82xx_ads.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/powerpc/platforms/82xx/mpc82xx_ads.c b/arch/powerpc/platforms/82xx/mpc82xx_ads.c
index 40087952935..5f538d5e7fd 100644
--- a/arch/powerpc/platforms/82xx/mpc82xx_ads.c
+++ b/arch/powerpc/platforms/82xx/mpc82xx_ads.c
@@ -612,20 +612,13 @@ static void m82xx_restart(char *cmd)
while (1) ;
}
-static void m82xx_halt(void)
-{
- local_irq_disable();
- while (1) ;
-}
-
define_machine(mpc82xx_ads)
{
.name = "MPC82xx ADS",
.probe = mpc82xx_ads_probe,
.setup_arch = mpc82xx_ads_setup_arch,
.init_IRQ = mpc82xx_ads_pic_init,
- .show_cpuinfo = mpc82xx_ads_show_cpuinfo,
.get_irq = cpm2_get_irq,
- .calibrate_decr = m82xx_calibrate_decr,
- .restart = m82xx_restart,.halt = m82xx_halt,
+ .calibrate_decr = generic_calibrate_decr,
+ .restart = m82xx_restart,
};