Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
linux
Commits
c8f018d2
Commit
c8f018d2
authored
21 years ago
by
Andrew Morton
Committed by
Linus Torvalds
21 years ago
Browse files
Options
Download
Email Patches
Plain Diff
[PATCH] start_cpu_timer() cannot be __init
It's now called from the CPU hot-add notifier.
parent
33cc912c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mm/slab.c
mm/slab.c
+1
-1
No files found.
mm/slab.c
View file @
c8f018d2
...
...
@@ -576,7 +576,7 @@ static void __slab_error(const char *function, kmem_cache_t *cachep, char *msg)
* Add the CPU number into the expiry time to minimize the possibility of the
* CPUs getting into lockstep and contending for the global cache chain lock.
*/
static
void
__init
start_cpu_timer
(
int
cpu
)
static
void
__
dev
init
start_cpu_timer
(
int
cpu
)
{
struct
timer_list
*
rt
=
&
per_cpu
(
reap_timers
,
cpu
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment