Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24317
b: refs/heads/master
c: 62ac285
h: refs/heads/master
i:
  24315: a3981e1
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Mar 27, 2006
1 parent f6199d6 commit 5684bc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 213b63b76a823e622d87df623aaec1119acaeaa0
refs/heads/master: 62ac285f3c701f0457a15fe01baa64a965c4f5f1
5 changes: 5 additions & 0 deletions trunk/include/asm-mips/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ static inline void __user *compat_ptr(compat_uptr_t uptr)
return (void __user *)(long)uptr;
}

static inline compat_uptr_t ptr_to_compat(void __user *uptr)
{
return (u32)(unsigned long)uptr;
}

static inline void __user *compat_alloc_user_space(long len)
{
struct pt_regs *regs = (struct pt_regs *)
Expand Down

0 comments on commit 5684bc6

Please sign in to comment.