From: Ingo Molnar Date: Fri, 20 Feb 2009 21:32:10 +0000 (+0100) Subject: x86, mm: fault.c, simplify kmmio_fault() X-Git-Tag: v2.6.30-rc1~211^2~43^5~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b814d41f0987c7648d7ed07471258101c95c026b;p=pandora-kernel.git x86, mm: fault.c, simplify kmmio_fault() Impact: cleanup Remove an #ifdef from kmmio_fault() - we can do this by providing default implementations for is_kmmio_active() and kmmio_handler(). The compiler optimizes it all away in the !CONFIG_MMIOTRACE case. Also, while at it, clean up mmiotrace.h a bit: - standard header guards - standard vertical spaces for structure definitions No code changed (both with mmiotrace on and off in the config): text data bss dec hex filename 2947 12 12 2971 b9b fault.o.before 2947 12 12 2971 b9b fault.o.after Cc: Pekka Paalanen Cc: Linus Torvalds Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed