Jeremy Fitzhardinge wrote:
> Jeremy Fitzhardinge wrote:
>>     set_ldt(const struct desc_struct *ldt, int num_entries);
>>   
> Make that
>
>     set_ldt(unsigned cpu, const struct desc_struct *ldt, int 
> num_entries);

Or maybe not.  The current code assumes that cpu is the current cpu 
anyway;  the implementation can use smp_processor_id() if it needs it 
anyway (Xen doesn't).

    J
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/virtualization

Reply via email to