aboutsummaryrefslogtreecommitdiff
path: root/kernel/rwsem.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 13:34:09 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:34:09 +0100
commit0879750f5d75dee0546316b7b0e83fb6cd258ad7 (patch)
tree76190c94a6e3abc12964fd6a4835e0a1f5019fe5 /kernel/rwsem.c
parent86f03989d99cfa2e1216cdd7aa996852236909cf (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 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions