linux-mips
[Top] [All Lists]

[patch 04/14] i8253: Make MIPS use the shared i8253_lock.

To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: [patch 04/14] i8253: Make MIPS use the shared i8253_lock.
From: ralf@linux-mips.org
Date: Wed, 01 Jun 2011 19:05:00 +0100
Cc: linux-mips@linux-mips.org
References: <20110601180456.801265664@duck.linux-mips.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: quilt/0.48-1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
To: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org

 arch/mips/Kconfig        |    1 +
 arch/mips/kernel/i8253.c |    3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

Index: linux-mips/arch/mips/Kconfig
===================================================================
--- linux-mips.orig/arch/mips/Kconfig
+++ linux-mips/arch/mips/Kconfig
@@ -2388,6 +2388,7 @@ config MMU
 config I8253
        bool
        select CLKSRC_I8253
+       select I8253_LOCK
        select MIPS_EXTERNAL_TIMER
 
 config ZONE_DMA32
Index: linux-mips/arch/mips/kernel/i8253.c
===================================================================
--- linux-mips.orig/arch/mips/kernel/i8253.c
+++ linux-mips/arch/mips/kernel/i8253.c
@@ -16,9 +16,6 @@
 #include <asm/io.h>
 #include <asm/time.h>
 
-DEFINE_RAW_SPINLOCK(i8253_lock);
-EXPORT_SYMBOL(i8253_lock);
-
 /*
  * Initialize the PIT timer.
  *



<Prev in Thread] Current Thread [Next in Thread>