lkml.org 
[lkml]   [2009]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: pass in cpu number to switch_to_new_gdt()
Brian Gerst wrote:
> Impact: cleanup, prepare for xen boot fix.
>
> Xen needs to call this function very early to setup the GDT and
> per-cpu segments. Remove the call to smp_processor_id() and just
> pass in the cpu number.
>

Unfortunate that still not sufficient for a Xen boot. I had to separate
the gdt reload from the segment register reload. Patches follow.

J


\
 
 \ /
  Last update: 2009-01-29 22:39    [W:0.124 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site