meminfo, thp: modify ifdef coverage to remove unexpected variable printing
authorSung-hun Kim <sfoon.kim@samsung.com>
Thu, 30 Sep 2021 00:37:45 +0000 (09:37 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 08:01:41 +0000 (17:01 +0900)
commit89a41e435db261091356dbbfcd6268614aa8763b
tree235f6b3fdb5dca7eb2a9e151328ba758db444225
parentb79e618fd90b0292172db18b767d73fdb4703359
meminfo, thp: modify ifdef coverage to remove unexpected variable printing

If the system uses fTHP, the user can show statistics of
hugepage-mapped CMA pages via /proc/meminfo.
Otherwise, the user does not need to aware of such variables.
This patch removes such exported variables when fTHP-disabled
kernel is used.

Change-Id: Iaff9dd8d81da1a3caa60959b9c5c1f44544f30d4
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
fs/proc/meminfo.c