From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, Ingo Molnar <mingo@elte.hu>,
Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Subject: [-mm patch] make kernel/time/timer_stats.c:nr_entries static
Date: Tue, 6 Feb 2007 23:13:04 +0100 [thread overview]
Message-ID: <20070206221304.GL27397@stusta.de> (raw)
In-Reply-To: <20070129001207.71ea3470.akpm@osdl.org>
On Mon, Jan 29, 2007 at 12:12:07AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-rc6-mm1:
>...
> +add-debugging-feature-proc-timer_stat.patch
>...
> New hrtimers/dynticks patches
>...
nr_entries can become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.20-rc6-mm3/kernel/time/timer_stats.c.old 2007-02-06 10:27:13.000000000 +0100
+++ linux-2.6.20-rc6-mm3/kernel/time/timer_stats.c 2007-02-06 10:27:31.000000000 +0100
@@ -112,7 +112,7 @@
#define MAX_ENTRIES_BITS 10
#define MAX_ENTRIES (1UL << MAX_ENTRIES_BITS)
-unsigned long nr_entries;
+static unsigned long nr_entries;
static struct entry entries[MAX_ENTRIES];
static atomic_t overflow_count;
next prev parent reply other threads:[~2007-02-06 22:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-29 8:12 2.6.20-rc6-mm2 Andrew Morton
2007-01-29 11:02 ` 2.6.20-rc6-mm2 Jiri Kosina
2007-01-29 15:40 ` 2.6.20-rc6-mm2 Thomas Gleixner
2007-01-29 16:28 ` 2.6.20-rc6-mm2 Jiri Kosina
2007-01-30 10:27 ` 2.6.20-rc6-mm2 Maciej Rutecki
2007-01-29 11:21 ` [-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6.20-rc6-mm2) Frederik Deweerdt
2007-01-29 17:32 ` Andrew Morton
2007-01-29 17:49 ` Christoph Lameter
2007-01-30 14:17 ` Frederik Deweerdt
2007-01-29 16:22 ` 2.6.20-rc6-mm2 Karsten Wiese
2007-01-29 16:38 ` 2.6.20-rc6-mm2 Thomas Gleixner
2007-01-29 17:28 ` 2.6.20-rc6-mm2 - modules_install error Matthew Frost
2007-01-29 21:37 ` 2.6.20-rc6-mm2 Laurent Riffard
2007-01-29 21:59 ` [PATCH] compile and link utsname_sysctl.o Laurent Riffard
2007-01-30 15:11 ` Eric W. Biederman
2007-01-30 16:26 ` Laurent Riffard
2007-02-06 22:13 ` Adrian Bunk [this message]
2007-02-06 22:15 ` [-mm patch] make kernel/time/timer_stats.c:nr_entries static Ingo Molnar
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=20070206221304.GL27397@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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