The patch titled consistently-use-max_errno-in-__syscall_return fix has been added to the -mm tree. Its filename is consistently-use-max_errno-in-__syscall_return-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: consistently-use-max_errno-in-__syscall_return fix From: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > include/linux/err.h: Assembler messages: > include/linux/err.h:20: Error: no such instruction: `static inline void *ERR_PTR(long error)' > include/linux/err.h:21: Error: junk at end of line, first unrecognized character is `{' Seems you don't have my other patch which was meant to cure this. Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/err.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN include/linux/err.h~consistently-use-max_errno-in-__syscall_return-fix include/linux/err.h --- a/include/linux/err.h~consistently-use-max_errno-in-__syscall_return-fix +++ a/include/linux/err.h @@ -15,6 +15,8 @@ */ #define MAX_ERRNO 4095 +#ifndef __ASSEMBLY__ + #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) static inline void *ERR_PTR(long error) @@ -32,4 +34,6 @@ static inline long IS_ERR(const void *pt return IS_ERR_VALUE((unsigned long)ptr); } +#endif + #endif /* _LINUX_ERR_H */ _ Patches currently in -mm which might be from ralf@xxxxxxxxxxxxxx are origin.patch char-rtc-handle-memory-mapped-chips-properly.patch char-rtc-handle-memory-mapped-chips-properly-cleanup.patch consistently-use-max_errno-in-__syscall_return-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html