Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245521
b: refs/heads/master
c: 26afb7c
h: refs/heads/master
i:
  245519: ea8f3b0
v: v3
  • Loading branch information
Jiri Olsa authored and Ingo Molnar committed May 18, 2011
1 parent 37d8425 commit d1d8432
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f19e06ac30771c7cb96fd61d8aeacfa74dac21c
refs/heads/master: 26afb7c661080ae3f1f13ddf7f0c58c4f931c22b
2 changes: 1 addition & 1 deletion trunk/arch/x86/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* Returns 0 if the range is valid, nonzero otherwise.
*
* This is equivalent to the following test:
* (u33)addr + (u33)size >= (u33)current->addr_limit.seg (u65 for x86_64)
* (u33)addr + (u33)size > (u33)current->addr_limit.seg (u65 for x86_64)
*
* This needs 33-bit (65-bit for x86_64) arithmetic. We have a carry...
*/
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/lib/copy_user_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ENTRY(_copy_to_user)
addq %rdx,%rcx
jc bad_to_user
cmpq TI_addr_limit(%rax),%rcx
jae bad_to_user
ja bad_to_user
ALTERNATIVE_JUMP X86_FEATURE_REP_GOOD,X86_FEATURE_ERMS, \
copy_user_generic_unrolled,copy_user_generic_string, \
copy_user_enhanced_fast_string
Expand All @@ -94,7 +94,7 @@ ENTRY(_copy_from_user)
addq %rdx,%rcx
jc bad_from_user
cmpq TI_addr_limit(%rax),%rcx
jae bad_from_user
ja bad_from_user
ALTERNATIVE_JUMP X86_FEATURE_REP_GOOD,X86_FEATURE_ERMS, \
copy_user_generic_unrolled,copy_user_generic_string, \
copy_user_enhanced_fast_string
Expand Down

0 comments on commit d1d8432

Please sign in to comment.