projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a04109
)
x86: Fix user return notifier put_cpu_var() invocation
author
Stephen Rothwell
<
[email protected]
>
Mon, 2 Nov 2009 05:17:22 +0000
(16:17 +1100)
committer
Ingo Molnar
<
[email protected]
>
Mon, 2 Nov 2009 06:58:59 +0000
(07:58 +0100)
Today's linux-next build (x86_64 allmodconfig) failed like this:
kernel/user-return-notifier.c: In function
'fire_user_return_notifiers': kernel/user-return-notifier.c:45:
error: expected expression before ')' token
Introduced by commit
7c68af6e32c73992bad24107311f3433c89016e2
("core, x86: Add user return notifiers") from the tip and kvm trees
but revealed by commit
e0fdb0e050eae331046385643618f12452aa7e73
("percpu: add __percpu for sparse") from the percpu tree.
Before that percpu tree commit, "put_cpu_var()" would compile
without error (even though it really needs a parameter).
Signed-off-by: Stephen Rothwell <
[email protected]
>
Cc: Avi Kivity <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Tejun Heo <
[email protected]
>
Cc: Rusty Russell <
[email protected]
>
Cc: Christoph Lameter <
[email protected]
>
LKML-Reference: <
20091102161722
.
eea4358d
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/user-return-notifier.c
patch
|
blob
|
history
diff --git
a/kernel/user-return-notifier.c
b/kernel/user-return-notifier.c
index 530ccb816513212c448cadbdabd44554c9678695..03e2d6fd9b18c99e6141f94f6f0a493ce0c8b133 100644
(file)
--- a/
kernel/user-return-notifier.c
+++ b/
kernel/user-return-notifier.c
@@
-42,5
+42,5
@@
void fire_user_return_notifiers(void)
head = &get_cpu_var(return_notifier_list);
hlist_for_each_entry_safe(urn, tmp1, tmp2, head, link)
urn->on_user_return(urn);
- put_cpu_var();
+ put_cpu_var(
return_notifier_list
);
}