x86: use v8086_mode helper, trivial unification
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 30 Jan 2008 12:33:23 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:23 +0000 (13:33 +0100)
commitd729ab35ee1367b7690458ae9e050571cb055bd3
tree4517ffe933ac66b3bea3e67b13735e099048015a
parent5f5cd8fd60c71ce47d2ce4e60e7ccbc306e91c64
x86: use v8086_mode helper, trivial unification

Use v8086_mode inline in fault_32.c, no functional change
also ifdef the section for 32-bit only and add to fault_64.c

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_32.c
arch/x86/mm/fault_64.c