diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:30 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:30 -0500 |
commit | 4a8a738de637dc7141de5228d2d722573a329b95 (patch) | |
tree | 20abde39e4697d5943dd83126ead21a9f4f8de85 /arch/mips/oprofile | |
parent | 559e25a5e3efe60a22b7f96ea4ad2eb09d996e97 (diff) |
MIPS: Make various locks static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/oprofile')
-rw-r--r-- | arch/mips/oprofile/op_model_loongson2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/oprofile/op_model_loongson2.c b/arch/mips/oprofile/op_model_loongson2.c index c25fb9b2073e..f7f9a32c722a 100644 --- a/arch/mips/oprofile/op_model_loongson2.c +++ b/arch/mips/oprofile/op_model_loongson2.c | |||
@@ -47,7 +47,7 @@ static struct loongson2_register_config { | |||
47 | int cnt1_enabled, cnt2_enabled; | 47 | int cnt1_enabled, cnt2_enabled; |
48 | } reg; | 48 | } reg; |
49 | 49 | ||
50 | DEFINE_SPINLOCK(sample_lock); | 50 | static DEFINE_SPINLOCK(sample_lock); |
51 | 51 | ||
52 | static char *oprofid = "LoongsonPerf"; | 52 | static char *oprofid = "LoongsonPerf"; |
53 | static irqreturn_t loongson2_perfcount_handler(int irq, void *dev_id); | 53 | static irqreturn_t loongson2_perfcount_handler(int irq, void *dev_id); |