Re: [PATCH 06/12] x86-64: Fix %cs value in convert_from_fxsr()

From: Pekka Enberg
Date: Sat Sep 04 2010 - 02:51:58 EST


On 4.9.2010 4.17, Brian Gerst wrote:
While %ds still contains the userspace selector, %cs is KERNEL_CS at
this point. Always get %cs from pt_regs even for the current task.

Signed-off-by: Brian Gerst<brgerst@xxxxxxxxx>
Acked-by: Pekka Enberg <penberg@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/