OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[uclinux-h8/linux.git]
/
arch
/
x86
/
lib
/
usercopy.c
diff --git
a/arch/x86/lib/usercopy.c
b/arch/x86/lib/usercopy.c
index
ddf9ecb
..
e342586
100644
(file)
--- a/
arch/x86/lib/usercopy.c
+++ b/
arch/x86/lib/usercopy.c
@@
-20,7
+20,7
@@
copy_from_user_nmi(void *to, const void __user *from, unsigned long n)
unsigned long ret;
if (__range_not_ok(from, n, TASK_SIZE))
- return
0
;
+ return
n
;
/*
* Even though this function is typically called from NMI/IRQ context