]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i386: convert hardware exception 7 to an interrupt gate
authorAlexander van Heukelum <heukelum@fastmail.fm>
Tue, 9 Sep 2008 19:56:02 +0000 (21:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:20:17 +0000 (10:20 +0200)
commit7643e9b936b4af31ba4851eb7d5b3a3bfad52502
tree1443d0d87a7d7c213253b5b46412fa467e21d6c1
parent12394cf567d509f6ab5d94544e1f414b35286d9e
i386: convert hardware exception 7 to an interrupt gate

Handle no coprocessor exception with interrupt initially off.

device_not_available in entry_32.S calls either math_state_restore
or math_emulate. This patch adds an extra indirection to be
able to re-enable interrupts explicitly in traps_32.c

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_32.S
arch/x86/kernel/traps_32.c