search for: fix_processor_context

Displaying 3 results from an estimated 3 matches for "fix_processor_context".

2007 Feb 14
4
[PATCH 3/12] Provide basic Xen PM infrastructure
...ved * segment registers */ savesegment(es, ctxt->es); +#ifndef __XEN__ savesegment(fs, ctxt->fs); savesegment(gs, ctxt->gs); +#endif savesegment(ss, ctxt->ss); /* @@ -60,6 +143,7 @@ static void do_fpu_end(void) kernel_fpu_end(); } +#ifndef __XEN__ static void fix_processor_context(void) { int cpu = smp_processor_id(); @@ -84,6 +168,32 @@ static void fix_processor_context(void) } } +#else +static void fix_processor_context(void) +{ + int cpu = smp_processor_id(); + struct tss_struct * t = &init_tss[cpu];; + + if ( supervisor_mode_kernel && cpu_has_sep ) +...
2007 Apr 18
1
warnings in rc4-mm2
i386 allmodconfig arch/i386/power/cpu.c: In function '__save_processor_state': arch/i386/power/cpu.c:29: warning: passing argument 1 of 'paravirt_ops.store_gdt' from incompatible pointer type arch/i386/power/cpu.c:30: warning: passing argument 1 of 'paravirt_ops.store_idt' from incompatible pointer type arch/i386/power/cpu.c: In function
2007 Apr 18
1
warnings in rc4-mm2
i386 allmodconfig arch/i386/power/cpu.c: In function '__save_processor_state': arch/i386/power/cpu.c:29: warning: passing argument 1 of 'paravirt_ops.store_gdt' from incompatible pointer type arch/i386/power/cpu.c:30: warning: passing argument 1 of 'paravirt_ops.store_idt' from incompatible pointer type arch/i386/power/cpu.c: In function