summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/abs_addr.h
diff options
context:
space:
mode:
authorMichael Ellerman2005-08-03 12:21:24 +0200
committerPaul Mackerras2005-08-29 02:53:36 +0200
commita4a0f97020444f83bf22bb9c8c20d8af2b4e6317 (patch)
treee57ee269fa71c46a43d8a4ffe4df82ec6780c744 /include/asm-ppc64/abs_addr.h
parent[PATCH] ppc64: Remove redundant uses of physRpn_to_absRpn (diff)
downloadkernel-qcow2-linux-a4a0f97020444f83bf22bb9c8c20d8af2b4e6317.tar.gz
kernel-qcow2-linux-a4a0f97020444f83bf22bb9c8c20d8af2b4e6317.tar.xz
kernel-qcow2-linux-a4a0f97020444f83bf22bb9c8c20d8af2b4e6317.zip
[PATCH] ppc64: Remove redundant use of pointers in lmb code
The lmb code is all written to use a pointer to an lmb struct. But it's always the same lmb struct, called "lmb". So we take the address of lmb, call it _lmb and then start using _lmb->foo everywhere, which is silly. This patch removes the _lmb pointers and replaces them with direct references to the one "lmb" struct. We do the same for some _mem and _rsv pointers which point to lmb.memory and lmb.reserved respectively. This patch looks quite busy, but it's basically just: s/_lmb->/lmb./g s/_mem->/lmb.memory./g s/_rsv->/lmb.reserved./g s/_rsv/&lmb.reserved/g s/mem->/lmb.memory./g Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/abs_addr.h')
0 files changed, 0 insertions, 0 deletions