[openib-general] Compiling SDP on 2.6.9

Grant Grundler iod00d at hp.com
Thu Apr 28 17:18:16 PDT 2005


On Thu, Apr 28, 2005 at 04:33:05PM -0700, Libor Michalek wrote:
> > Please do not. Just fix the code to use ECANCELED since that's
> > what SuSv3 specifies and linux prefers:
> > include/asm-generic/errno.h:#define     ECANCELED       125
> 
>   In 2.6.9 the contant ECANCELED does not exists, it was only introduced
> in 2.6.10, so for the patch Woody is trying to create I would just say
> add the #define to sdp_main.h

Why not patch the include/asm*/errno.h files?
alpha, mips, parisc, sparc64 use different values.
Even if you don't care about those arches on 2.6.9,
it would still make more sense to patch at least
the asm-generic/errno.h.

grant



More information about the general mailing list