Re: [PATCH] x86: remove __phys_reloc_hide

From: H. Peter Anvin
Date: Wed Aug 11 2010 - 15:10:25 EST


On 08/10/2010 10:44 PM, Namhyung Kim wrote:
> 2010-08-10 (í), 19:46 +0900, Namhyung Kim:
>
>> No problem. :-) But before that, let me clarify this: It seems
>> -fno-strict-overflow is all about the signed arithmetic and
>> __pa_symbol() does unsigned one. Is it really matters here?
>>
>
> Oops, my bad, I found the description of -fstrict-overflow in gcc manual
> that it also affects the semantics of pointer and unsigned integer
> arithmetic. Sorry for the noise.
>

Not unsigned integers, those are defined by the C standard to wrap.

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