kdb: fix incorrect counts in KDB summary command output
authorJay Lan <jlan@sgi.com>
Mon, 29 Sep 2014 22:36:57 +0000 (15:36 -0700)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 19 Feb 2015 18:39:02 +0000 (12:39 -0600)
commit146755923262037fc4c54abc28c04b1103f3cc51
tree29c637bbb6c081511d14eee2eef2c759a6006bfe
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735
kdb: fix incorrect counts in KDB summary command output

The output of KDB 'summary' command should report MemTotal, MemFree
and Buffers output in kB. Current codes report in unit of pages.

A define of K(x) as
is defined in the code, but not used.

This patch would apply the define to convert the values to kB.
Please include me on Cc on replies. I do not subscribe to linux-kernel.

Signed-off-by: Jay Lan <jlan@sgi.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/kdb/kdb_main.c