Re: [PATCH] x86: remove __phys_reloc_hide

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Namhyung Kim
Date: Monday, August 9, 2010 - 12:04 am

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

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


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: remove __phys_reloc_hide, Namhyung Kim, (Sun Aug 8, 2:38 pm)
Re: [PATCH] x86: remove __phys_reloc_hide, Andi Kleen, (Sun Aug 8, 11:22 pm)
Re: [PATCH] x86: remove __phys_reloc_hide, Namhyung Kim, (Sun Aug 8, 11:40 pm)
Re: [PATCH] x86: remove __phys_reloc_hide, Andi Kleen, (Sun Aug 8, 11:44 pm)
Re: [PATCH] x86: remove __phys_reloc_hide, Namhyung Kim, (Mon Aug 9, 12:04 am)
Re: [PATCH] x86: remove __phys_reloc_hide, Andi Kleen, (Mon Aug 9, 12:22 am)
Re: [PATCH] x86: remove __phys_reloc_hide, Namhyung Kim, (Mon Aug 9, 12:47 am)
Re: [PATCH] x86: remove __phys_reloc_hide, Ingo Molnar, (Mon Aug 9, 1:07 am)
Re: [PATCH] x86: remove __phys_reloc_hide, H. Peter Anvin, (Mon Aug 9, 11:56 am)
Re: [PATCH] x86: remove __phys_reloc_hide, H. Peter Anvin, (Mon Aug 9, 11:56 am)
Re: [PATCH] x86: remove __phys_reloc_hide, Ingo Molnar, (Tue Aug 10, 12:05 am)
Re: [PATCH] x86: remove __phys_reloc_hide, Namhyung Kim, (Tue Aug 10, 3:46 am)
Re: [PATCH] x86: remove __phys_reloc_hide, Namhyung Kim, (Tue Aug 10, 10:44 pm)
[PATCH] x86: add a comment to __pa_symbol, Namhyung Kim, (Tue Aug 10, 11:37 pm)
[tip:x86/urgent] x86: Document __phys_reloc_hide() usage i ..., tip-bot for Namhyung Kim, (Wed Aug 11, 12:44 am)
Re: [PATCH] x86: remove __phys_reloc_hide, H. Peter Anvin, (Wed Aug 11, 12:09 pm)