projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mm: pagefault_{disable,enable}()
[deliverable/linux.git]
/
include
/
asm-ia64
/
futex.h
diff --git
a/include/asm-ia64/futex.h
b/include/asm-ia64/futex.h
index 07d77f3a8cbe278bbad15d99e80442b86cbd7d83..8a98a26541391ed17cbcebf97b0b98ef5a1efa31 100644
(file)
--- a/
include/asm-ia64/futex.h
+++ b/
include/asm-ia64/futex.h
@@
-59,7
+59,7
@@
futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
if (! access_ok (VERIFY_WRITE, uaddr, sizeof(int)))
return -EFAULT;
-
inc_preempt_count
();
+
pagefault_disable
();
switch (op) {
case FUTEX_OP_SET:
@@
-83,7
+83,7
@@
futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
ret = -ENOSYS;
}
-
dec_preempt_count
();
+
pagefault_enable
();
if (!ret) {
switch (cmp) {
This page took
0.025381 seconds
and
5
git commands to generate.