[PATCH v4 4/8] x86: Drop 4 unnecessary calls to __pa_symbol

2012-11-16 Thread Alexander Duyck
While debugging the __pa_symbol inline patch I found that there were a couple spots where __pa_symbol was used as follows: __pa_symbol(x) - __pa_symbol(y) The compiler had reduced them to: x - y Since we also support a debug case where __pa_symbol is a function call it would probably be useful

[PATCH v4 4/8] x86: Drop 4 unnecessary calls to __pa_symbol

2012-11-16 Thread Alexander Duyck
While debugging the __pa_symbol inline patch I found that there were a couple spots where __pa_symbol was used as follows: __pa_symbol(x) - __pa_symbol(y) The compiler had reduced them to: x - y Since we also support a debug case where __pa_symbol is a function call it would probably be useful