Re: [PATCH] x86: remove __phys_reloc_hide

From: Namhyung Kim
Date: Mon Aug 09 2010 - 03:05:03 EST


> It hides the value conversion from the compiler through asm()
>
> -Andi
>

Yes, indeed. But for what? __pa_symbol() is just used to get the address
of some linker symbols in forms of unsigned long which has same bit
representation as pointer in x86 (and all supported archs). So do we
still need it or am I missing something?


--
Regards,
Namhyung Kim


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