mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
To: linux-mips@linux-mips.org, ralf@linux-mips.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 6/5] [MIPS] op_model_mipsxx.c: make the save_perf_irq variable static
Date: Wed,  2 Apr 2008 19:51:05 +0400	[thread overview]
Message-ID: <1207151465-29257-1-git-send-email-dmitri.vorobiev@gmail.com> (raw)
In-Reply-To: <1207094318-21748-1-git-send-email-dmitri.vorobiev@gmail.com>

The function pointer save_perf_irq introduced by the previous
patch in this series can become static.

Thanks for Atsushi Nemoto for pointing out the possibility.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
---
Hi Ralf,

If you find that the series is worth it, please pick up this
patch too. Thank you.

Dmitri

 arch/mips/oprofile/op_model_mipsxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c
index 12e840f..0a11727 100644
--- a/arch/mips/oprofile/op_model_mipsxx.c
+++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -31,7 +31,7 @@
 
 #define M_COUNTER_OVERFLOW		(1UL      << 31)
 
-int (*save_perf_irq)(void);
+static int (*save_perf_irq)(void);
 
 #ifdef CONFIG_MIPS_MT_SMP
 #define WHAT		(M_TC_EN_VPE | M_PERFCTL_VPEID(smp_processor_id()))
-- 
1.5.3


      parent reply	other threads:[~2008-04-02 15:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 23:58 [PATCH 0/5] [MIPS] unexport a few symbols in MIPS-specific code Dmitri Vorobiev
2008-04-01 23:58 ` [PATCH 1/5] [MIPS] unexport copy_user_highpage() Dmitri Vorobiev
2008-04-04  7:19   ` Ralf Baechle
2008-04-01 23:58 ` [PATCH 2/5] [MIPS] unexport copy_to_user_page() Dmitri Vorobiev
2008-04-04  7:20   ` Ralf Baechle
2008-04-01 23:58 ` [PATCH 3/5] [MIPS] unexport copy_from_user_page() Dmitri Vorobiev
2008-04-04  7:20   ` Ralf Baechle
2008-04-01 23:58 ` [PATCH 4/5] [MIPS] unexport rtc_mips_set_time() Dmitri Vorobiev
2008-04-04  7:20   ` Ralf Baechle
2008-04-01 23:58 ` [PATCH 5/5] [MIPS] unexport null_perf_irq() and make it static Dmitri Vorobiev
2008-04-02 12:38   ` Atsushi Nemoto
2008-04-02 12:45     ` Dmitri Vorobiev
2008-04-04  7:20   ` Ralf Baechle
2008-04-05  1:29     ` Dmitri Vorobiev
2008-04-02 15:51 ` Dmitri Vorobiev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1207151465-29257-1-git-send-email-dmitri.vorobiev@gmail.com \
    --to=dmitri.vorobiev@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®