Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29756
b: refs/heads/master
c: 838cd15
h: refs/heads/master
v: v3
  • Loading branch information
akpm@osdl.org authored and Linus Torvalds committed Jun 25, 2006
1 parent c24e5cb commit df48ba9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 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: 92eeccd8badbfebe12383b6e5326b27dc707601d
refs/heads/master: 838cd153a5250a79a302f6c5d68a4794b70c4ccb
3 changes: 0 additions & 3 deletions trunk/include/asm-mips/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,5 @@ static inline void __user *compat_alloc_user_space(long len)

return (void __user *) (regs->regs[29] - len);
}
#if defined (__MIPSEL__)
#define __COMPAT_ENDIAN_SWAP__ 1
#endif

#endif /* _ASM_COMPAT_H */
7 changes: 0 additions & 7 deletions trunk/kernel/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,17 +730,10 @@ void
sigset_from_compat (sigset_t *set, compat_sigset_t *compat)
{
switch (_NSIG_WORDS) {
#if defined (__COMPAT_ENDIAN_SWAP__)
case 4: set->sig[3] = compat->sig[7] | (((long)compat->sig[6]) << 32 );
case 3: set->sig[2] = compat->sig[5] | (((long)compat->sig[4]) << 32 );
case 2: set->sig[1] = compat->sig[3] | (((long)compat->sig[2]) << 32 );
case 1: set->sig[0] = compat->sig[1] | (((long)compat->sig[0]) << 32 );
#else
case 4: set->sig[3] = compat->sig[6] | (((long)compat->sig[7]) << 32 );
case 3: set->sig[2] = compat->sig[4] | (((long)compat->sig[5]) << 32 );
case 2: set->sig[1] = compat->sig[2] | (((long)compat->sig[3]) << 32 );
case 1: set->sig[0] = compat->sig[0] | (((long)compat->sig[1]) << 32 );
#endif
}
}

Expand Down

0 comments on commit df48ba9

Please sign in to comment.