Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309602
b: refs/heads/master
c: 491af99
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed May 30, 2012
1 parent c6629e4 commit 59a167b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 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: 2e30db9522837e2a5d30ce1e66afb0a7ee0ff350
refs/heads/master: 491af9903b858ee7c36735dc31708fe4074ce56f
13 changes: 9 additions & 4 deletions trunk/arch/s390/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,15 @@

#define segment_eq(a,b) ((a).ar4 == (b).ar4)

#define __access_ok(addr, size) \
({ \
__chk_user_ptr(addr); \
1; \
static inline int __range_ok(unsigned long addr, unsigned long size)
{
return 1;
}

#define __access_ok(addr, size) \
({ \
__chk_user_ptr(addr); \
__range_ok((unsigned long)(addr), (size)); \
})

#define access_ok(type, addr, size) __access_ok(addr, size)
Expand Down

0 comments on commit 59a167b

Please sign in to comment.