projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sched/fair: Fix unfairness caused by missing load decay
[linux-2.6-microblaze.git]
/
kernel
/
static_call.c
diff --git
a/kernel/static_call.c
b/kernel/static_call.c
index
2c5950b
..
723fcc9
100644
(file)
--- a/
kernel/static_call.c
+++ b/
kernel/static_call.c
@@
-165,13
+165,13
@@
void __static_call_update(struct static_call_key *key, void *tramp, void *func)
stop = __stop_static_call_sites;
stop = __stop_static_call_sites;
-#ifdef CONFIG_MODULES
if (mod) {
if (mod) {
+#ifdef CONFIG_MODULES
stop = mod->static_call_sites +
mod->num_static_call_sites;
init = mod->state == MODULE_STATE_COMING;
stop = mod->static_call_sites +
mod->num_static_call_sites;
init = mod->state == MODULE_STATE_COMING;
- }
#endif
#endif
+ }
for (site = site_mod->sites;
site < stop && static_call_key(site) == key; site++) {
for (site = site_mod->sites;
site < stop && static_call_key(site) == key; site++) {