summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/unaligned.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-08-03 20:21:24 +1000
committerPaul Mackerras <paulus@samba.org>2005-08-29 10:53:36 +1000
commita4a0f97020444f83bf22bb9c8c20d8af2b4e6317 (patch)
treee57ee269fa71c46a43d8a4ffe4df82ec6780c744 /include/asm-i386/unaligned.h
parentaefd16b0c5a594b5feaba23954ad74061f45c8a5 (diff)
[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-i386/unaligned.h')
0 files changed, 0 insertions, 0 deletions