summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdike <jdike>2003-02-02 18:14:15 +0000
committerjdike <jdike>2003-02-02 18:14:15 +0000
commitd1ab110912d179d71ceac6ed6553ba13a64ad6d2 (patch)
tree7e7f4efadccd69ee2e7d661c7c4f44797ebb703f
parent3abb85285d93c86f9e349cecbbe0d1ae1dc3a782 (diff)
downloaduml-history-d1ab110912d179d71ceac6ed6553ba13a64ad6d2.tar.gz
Fixed a fencepost error which caused copy_mount_options to fail.
-rw-r--r--arch/um/kernel/skas/include/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/skas/include/uaccess.h b/arch/um/kernel/skas/include/uaccess.h
index f3341a2..67198a4 100644
--- a/arch/um/kernel/skas/include/uaccess.h
+++ b/arch/um/kernel/skas/include/uaccess.h
@@ -18,7 +18,7 @@
#define access_ok_skas(type, addr, size) \
((segment_eq(get_fs(), KERNEL_DS)) || \
(((unsigned long) (addr) < TASK_SIZE) && \
- ((unsigned long) (addr) + (size) < TASK_SIZE)))
+ ((unsigned long) (addr) + (size) <= TASK_SIZE)))
static inline int verify_area_skas(int type, const void * addr,
unsigned long size)