Re: IS_ERR Threshold Value

From: H. Peter Anvin
Date: Sun Jul 02 2006 - 13:39:08 EST


Ralf Baechle wrote:
So MAX_ERRNO of EMAXERRNO which was also being used in assembler code.
Other architectures may have the same issue, so I propose wrapping the
C parts with #ifndef __ASSEMBLY__ to keep as happy.


Indeed; this should definitely be accessible to assembly code. I'd like to change the hard-coded constants in klibc over time to use this.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/