diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 13:34:09 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:34:09 +0100 |
commit | 0879750f5d75dee0546316b7b0e83fb6cd258ad7 (patch) | |
tree | 76190c94a6e3abc12964fd6a4835e0a1f5019fe5 /fs/ecryptfs/ecryptfs_kernel.h | |
parent | 86f03989d99cfa2e1216cdd7aa996852236909cf (diff) |
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 <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions