Re: Compile warning rtmutex code on 2.6.24.7-rt8 (CC:LKML added)

From: Steven Rostedt
Date: Tue May 20 2008 - 17:11:22 EST



On Tue, 20 May 2008, Remy Bohmer wrote:

> Hello Steven,
>
> Do you recognise these warnings? I do not know (yet) if these are ARM
> specific...
>
> CC kernel/rtmutex.o
> kernel/rtmutex.c: In function 'rt_write_fastlock':
> kernel/rtmutex.c:1582: warning: initialization makes pointer from
> integer without a cast
> kernel/rtmutex.c: In function 'rt_write_fasttrylock':
> kernel/rtmutex.c:1622: warning: initialization makes pointer from
> integer without a cast
>
> If so, do you have a fix for it?

Ah, I guess ARM is a bit more critical of chpxchg than x86 is.

I'll add a patch for 2.6.24.7-rt9 (which I plan on releasing soon). It
will have some minor clean ups.

-- Steve

--
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/