diff options
| author | Avi Kivity <[email protected]> | 2011-01-11 10:15:54 +0000 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2011-01-12 10:02:26 +0000 |
| commit | e5c301428294cb8925667c9ee39f817c4ab1c2c9 (patch) | |
| tree | 6630b1e95e38287bcda12e40fbbc2d25cf551496 /drivers/net/xen-netback/interface.c | |
| parent | KVM: VMX: when entering real mode align segment base to 16 bytes (diff) | |
| download | kernel-e5c301428294cb8925667c9ee39f817c4ab1c2c9.tar.gz kernel-e5c301428294cb8925667c9ee39f817c4ab1c2c9.zip | |
KVM: Initialize fpu state in preemptible context
init_fpu() (which is indirectly called by the fpu switching code) assumes
it is in process context. Rather than makeing init_fpu() use an atomic
allocation, which can cause a task to be killed, make sure the fpu is
already initialized when we enter the run loop.
KVM-Stable-Tag.
Reported-and-tested-by: Kirill A. Shutemov <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Reviewed-by: Christoph Lameter <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
