vserver 1.9.3
[linux-2.6.git] / include / asm-s390 / idals.h
index 8f72c9b..8038858 100644 (file)
@@ -35,7 +35,7 @@ static inline int
 idal_is_needed(void *vaddr, unsigned int length)
 {
 #ifdef __s390x__
-       return ((__pa(vaddr) + length) >> 31) != 0;
+       return ((__pa(vaddr) + length - 1) >> 31) != 0;
 #else
        return 0;
 #endif