debuggers.hg

diff xen/arch/x86/smpboot.c @ 3658:0ef6e8e6e85d

bitkeeper revision 1.1159.212.71 (4200f0afX_JumfbEHQex6TdFENULMQ)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
author iap10@labyrinth.cl.cam.ac.uk
date Wed Feb 02 15:24:31 2005 +0000 (2005-02-02)
parents dda5ab69e74a beb0887c54bc
children bf2c38625b39
line diff
     1.1 --- a/xen/arch/x86/smpboot.c	Wed Feb 02 09:38:32 2005 +0000
     1.2 +++ b/xen/arch/x86/smpboot.c	Wed Feb 02 15:24:31 2005 +0000
     1.3 @@ -409,7 +409,7 @@ void __init start_secondary(void)
     1.4       * At this point, boot CPU has fully initialised the IDT. It is
     1.5       * now safe to make ourselves a private copy.
     1.6       */
     1.7 -    idt_tables[cpu] = xmalloc(IDT_ENTRIES*8);
     1.8 +    idt_tables[cpu] = xmalloc_array(struct desc_struct, IDT_ENTRIES);
     1.9      memcpy(idt_tables[cpu], idt_table, IDT_ENTRIES*8);
    1.10      *(unsigned short *)(&idt_load[0]) = (IDT_ENTRIES*8)-1;
    1.11      *(unsigned long  *)(&idt_load[2]) = (unsigned long)idt_tables[cpu];