diff options
author | Anton Blanchard <anton@samba.org> | 2005-11-07 17:43:07 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-08 11:19:53 +1100 |
commit | bcb3557694d4e880051795ad97d609d255bcb658 (patch) | |
tree | b79b550546b1330c828cd163ac624c6dc42a992a /arch/powerpc/oprofile/op_model_power4.c | |
parent | 42596ec5edc8efb9e24397ef656df7ebb2c4f8d5 (diff) | |
download | blackbird-op-linux-bcb3557694d4e880051795ad97d609d255bcb658.tar.gz blackbird-op-linux-bcb3557694d4e880051795ad97d609d255bcb658.zip |
[PATCH] ppc64: fix Memory: summary line
On ppc64 we end up with a negative value for the data size in the memory
boot message:
Memory: 2035560k/2097152k available (5792k kernel code, 89564k reserved,
18014398509481632k data, 870k bss, 352k init)
It turns out the section ordering of the linker script is different on
ppc32 and ppc64, so just count data as _edata - _sdata which should work
on both.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/oprofile/op_model_power4.c')
0 files changed, 0 insertions, 0 deletions