mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
fs/proc/meminfo.c: fix compilation error
Fix the error message "directives may not be used inside a macro argument" which appears when the kernel is compiled for the cris architecture. Signed-off-by: Claudio Scordino <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
83aeeada7c
commit
b53fc7c297
1 changed files with 4 additions and 3 deletions
|
|
@ -131,12 +131,13 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
|
|||
K(i.freeswap),
|
||||
K(global_page_state(NR_FILE_DIRTY)),
|
||||
K(global_page_state(NR_WRITEBACK)),
|
||||
K(global_page_state(NR_ANON_PAGES)
|
||||
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
|
||||
K(global_page_state(NR_ANON_PAGES)
|
||||
+ global_page_state(NR_ANON_TRANSPARENT_HUGEPAGES) *
|
||||
HPAGE_PMD_NR
|
||||
HPAGE_PMD_NR),
|
||||
#else
|
||||
K(global_page_state(NR_ANON_PAGES)),
|
||||
#endif
|
||||
),
|
||||
K(global_page_state(NR_FILE_MAPPED)),
|
||||
K(global_page_state(NR_SHMEM)),
|
||||
K(global_page_state(NR_SLAB_RECLAIMABLE) +
|
||||
|
|
|
|||
Loading…
Reference in a new issue