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
cfi: Use rcu_read_{un}lock_sched_notrace
[linux-2.6-microblaze.git]
/
kernel
/
cfi.c
diff --git
a/kernel/cfi.c
b/kernel/cfi.c
index
e17a566
..
9594cfd
100644
(file)
--- a/
kernel/cfi.c
+++ b/
kernel/cfi.c
@@
-248,9
+248,9
@@
static inline cfi_check_fn find_shadow_check_fn(unsigned long ptr)
{
cfi_check_fn fn;
{
cfi_check_fn fn;
- rcu_read_lock_sched();
+ rcu_read_lock_sched
_notrace
();
fn = ptr_to_check_fn(rcu_dereference_sched(cfi_shadow), ptr);
fn = ptr_to_check_fn(rcu_dereference_sched(cfi_shadow), ptr);
- rcu_read_unlock_sched();
+ rcu_read_unlock_sched
_notrace
();
return fn;
}
return fn;
}
@@
-269,11
+269,11
@@
static inline cfi_check_fn find_module_check_fn(unsigned long ptr)
cfi_check_fn fn = NULL;
struct module *mod;
cfi_check_fn fn = NULL;
struct module *mod;
- rcu_read_lock_sched();
+ rcu_read_lock_sched
_notrace
();
mod = __module_address(ptr);
if (mod)
fn = mod->cfi_check;
mod = __module_address(ptr);
if (mod)
fn = mod->cfi_check;
- rcu_read_unlock_sched();
+ rcu_read_unlock_sched
_notrace
();
return fn;
}
return fn;
}