From d187aba072246a4b03979b52b63198967cb511e6 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 9 Feb 2008 10:29:28 +0000 Subject: switch to 2.6.24 SVN-Revision: 10427 --- target/linux/adm5120/files/arch/mips/adm5120/reset.c | 2 -- target/linux/adm5120/files/arch/mips/adm5120/setup.c | 6 ------ target/linux/adm5120/files/arch/mips/adm5120/time.c | 11 ----------- 3 files changed, 19 deletions(-) (limited to 'target/linux/adm5120/files/arch/mips') diff --git a/target/linux/adm5120/files/arch/mips/adm5120/reset.c b/target/linux/adm5120/files/arch/mips/adm5120/reset.c index b086f9a..653d42c 100644 --- a/target/linux/adm5120/files/arch/mips/adm5120/reset.c +++ b/target/linux/adm5120/files/arch/mips/adm5120/reset.c @@ -27,7 +27,6 @@ #include #include -#include #include #include @@ -50,7 +49,6 @@ void adm5120_halt(void) { local_irq_disable(); - printk(KERN_NOTICE "\n** You can safely turn off the power\n"); while (1) { if (cpu_wait) cpu_wait(); diff --git a/target/linux/adm5120/files/arch/mips/adm5120/setup.c b/target/linux/adm5120/files/arch/mips/adm5120/setup.c index 9046057..418a342 100644 --- a/target/linux/adm5120/files/arch/mips/adm5120/setup.c +++ b/target/linux/adm5120/files/arch/mips/adm5120/setup.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include @@ -60,11 +59,6 @@ void __init plat_mem_setup(void) adm5120_mem_init(); adm5120_report(); -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) -extern void plat_time_init(void) __init; - board_time_init = plat_time_init; -#endif - _machine_restart = adm5120_restart; _machine_halt = adm5120_halt; pm_power_off = adm5120_halt; diff --git a/target/linux/adm5120/files/arch/mips/adm5120/time.c b/target/linux/adm5120/files/arch/mips/adm5120/time.c index 66eb1ce..63191d4 100644 --- a/target/linux/adm5120/files/arch/mips/adm5120/time.c +++ b/target/linux/adm5120/files/arch/mips/adm5120/time.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include @@ -34,13 +33,3 @@ void __init plat_time_init(void) { mips_hpt_frequency = adm5120_speed / 2; } - -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) -void __init plat_timer_setup(struct irqaction *irq) -{ - clear_c0_status(ST0_BEV); - - /* Install ISR for CPU Counter interrupt */ - setup_irq(ADM5120_IRQ_COUNTER, irq); -} -#endif -- cgit v1.1