From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit
Date: Mon, 18 Jun 2007 01:43:06 +0200 [thread overview]
Message-ID: <20070617234306.GH3588@stusta.de> (raw)
start_cpu_timer() should be __cpuinit (which also matches what it's
callers are).
__devinit didn't cause problems, it simply wasted a few bytes of memory
for the common CONFIG_HOTPLUG_CPU=n case.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch has been sent on:
- 28 Apr 2007
--- linux-2.6.21-rc7-mm2/mm/slab.c.old 2007-04-28 14:26:44.000000000 +0200
+++ linux-2.6.21-rc7-mm2/mm/slab.c 2007-04-28 14:26:54.000000000 +0200
@@ -948,7 +948,7 @@
* the CPUs getting into lockstep and contending for the global cache chain
* lock.
*/
-static void __devinit start_cpu_timer(int cpu)
+static void __cpuinit start_cpu_timer(int cpu)
{
struct delayed_work *reap_work = &per_cpu(reap_work, cpu);
next reply other threads:[~2007-06-17 23:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-17 23:43 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-28 19:19 [2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit Adrian Bunk
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=20070617234306.GH3588@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.