X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-mips%2Fcompat.h;h=986511db54a671d05780824a17d2aa6b09c88e98;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=900f472fdd2b5fc92fc6547893d5a9938a71731f;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-mips/compat.h b/include/asm-mips/compat.h index 900f472fd..986511db5 100644 --- a/include/asm-mips/compat.h +++ b/include/asm-mips/compat.h @@ -145,5 +145,8 @@ 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 */