From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:34:09 +0000 (+0100) Subject: x86: cpa cleanup the 64-bit alias math X-Git-Tag: v2.6.25-rc1~1143^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0879750f5d75dee0546316b7b0e83fb6cd258ad7;p=pandora-kernel.git x86: cpa cleanup the 64-bit alias math Cleanup the address calculations, which are necessary to identify the high/low alias mappings of the kernel on 64 bit machines. Instead of calling __pa/__va back and forth, calculate the physical address once and base the other calculations on it. Add understandable constants so we can use the already available within() helper. Also add comments, which help mere mortals to understand what this code does. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed