The PIT timer is slow, especially under virtualisation, compared with the r4k timer, and doesn't really provide any advantage on Malta since it doesn't support clock scaling (which is where the PIT has an advantage). Drop the use of the PIT timer on Malta so that the r4k or GIC timer will be used in preference. Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: linux-mips@xxxxxxxxxxxxxx --- arch/mips/Kconfig | 1 - arch/mips/mti-malta/malta-time.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 2018c2b0e078..c9a0c70334ce 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -442,7 +442,6 @@ config MIPS_MALTA select IRQ_MIPS_CPU select MIPS_GIC select HW_HAS_PCI - select I8253 select I8259 select MIPS_BONITO64 select MIPS_CPU_SCACHE diff --git a/arch/mips/mti-malta/malta-time.c b/arch/mips/mti-malta/malta-time.c index 7407da04f8d6..82dd1ea6d630 100644 --- a/arch/mips/mti-malta/malta-time.c +++ b/arch/mips/mti-malta/malta-time.c @@ -18,7 +18,6 @@ * Setting up the clock on the MIPS boards. */ #include <linux/types.h> -#include <linux/i8253.h> #include <linux/init.h> #include <linux/kernel_stat.h> #include <linux/math64.h> @@ -225,11 +224,6 @@ void __init plat_time_init(void) mips_scroll_message(); -#ifdef CONFIG_I8253 - /* Only Malta has a PIT. */ - setup_pit_timer(); -#endif - #ifdef CONFIG_MIPS_GIC if (gic_present) { freq = freqround(gic_frequency, 5000); -- 2.4.10