]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86, mm: fault.c cleanup
authorIngo Molnar <mingo@elte.hu>
Fri, 20 Feb 2009 18:56:40 +0000 (19:56 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Feb 2009 23:09:39 +0000 (00:09 +0100)
commit2d4a71676f4d89418a0d53e60b89e8b804b390b2
treef25c247fbb660281e32fe94bfe986610b855d4c1
parentc9e1585b1b7e36a72181f2c59c2abfd476512e93
x86, mm: fault.c cleanup

Impact: cleanup, no code changed

Clean up various small details, which can be correctness checked
automatically:

 - tidy up the include file section
 - eliminate unnecessary includes
 - introduce show_signal_msg() to clean up code flow
 - standardize the code flow
 - standardize comments and other style details
 - more cleanups, pointed out by checkpatch

No code changed on either 32-bit nor 64-bit:

arch/x86/mm/fault.o:

   text    data     bss     dec     hex filename
   4632      32      24    4688    1250 fault.o.before
   4632      32      24    4688    1250 fault.o.after

the md5 changed due to a change in a single instruction:

   2e8a8241e7f0d69706776a5a26c90bc0  fault.o.before.asm
   c5c3d36e725586eb74f0e10692f0193e  fault.o.after.asm

Because a __LINE__ reference in a WARN_ONCE() has changed.

On 32-bit a few stack offsets changed - no code size difference
nor any functionality difference.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/fault.c