From 7d2add6357f87cbcd5b5a58998518ac241771b50 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Thu, 28 Jul 2011 15:23:37 +0200 Subject: [PATCH] --- yaml --- r: 272036 b: refs/heads/master c: 41b7602ed17a6bbb3b3d33087c39ef5c3a5589c7 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/microblaze/include/asm/uaccess.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 25273690fbd7..f686272e55bf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ebe211254bfa6295f4ab0b33c7c881bdfabbab60 +refs/heads/master: 41b7602ed17a6bbb3b3d33087c39ef5c3a5589c7 diff --git a/trunk/arch/microblaze/include/asm/uaccess.h b/trunk/arch/microblaze/include/asm/uaccess.h index 5bb95a11880d..072b0077abf9 100644 --- a/trunk/arch/microblaze/include/asm/uaccess.h +++ b/trunk/arch/microblaze/include/asm/uaccess.h @@ -95,7 +95,7 @@ static inline int ___range_ok(unsigned long addr, unsigned long size) * - "addr", "addr + size" and "size" are all below the limit */ #define access_ok(type, addr, size) \ - (get_fs().seg > (((unsigned long)(addr)) | \ + (get_fs().seg >= (((unsigned long)(addr)) | \ (size) | ((unsigned long)(addr) + (size)))) /* || printk("access_ok failed for %s at 0x%08lx (size %d), seg 0x%08x\n",