]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: shrink some ifdefs in fault.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 30 Jan 2008 12:34:11 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:11 +0000 (13:34 +0100)
commitfd40d6e3188b12c59696d6cb4a6f26333814d66f
tree501f109ea72beaf113b417feb71746afec18f7a0
parent5b727a3b0158a129827c21ce3bfb0ba997e8ddd0
x86: shrink some ifdefs in fault.c

The change from current to tsk in do_page_fault is safe as
this is set at the very beginning of the function.

Removes a likely() annotation from the 64-bit version, this
could have instead been added to 32-bit.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/fault.c