]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: janitor CPA statistics patch
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 May 2008 14:35:21 +0000 (16:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 06:12:05 +0000 (08:12 +0200)
commit65280e613fada41704f35709b6c8952ca4b8750c
treebc3dfcff341afcec6db6f2bdba5e62310059f120
parentce0c0e50f94e8c55b00a722e8c6e8d6c802be211
x86: janitor CPA statistics patch

1) Remove __meminit from update_pages_count. It is used inside
split_pages()

2) Make the code depend on PROC_FS. Doing statistics for nothing is
useless and not adding useless code is nice to the Linux tiny folks.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c
include/asm-x86/pgtable.h