debuggers.hg

diff xen/include/asm-x86/smp.h @ 3659:bf2c38625b39

bitkeeper revision 1.1159.212.72 (42011b79Y7C9nEKFZ5pdQXwp8jC9hw)

More x86/64. Now boot secondary CPUs, but I seem to have problems
executing IRET, so interrupts are fatal.
Signed-off-by: keir.fraser@cl.cam.ac.uk
author kaf24@scramble.cl.cam.ac.uk
date Wed Feb 02 18:27:05 2005 +0000 (2005-02-02)
parents bd470dc06d31
children bbe8541361dd
line diff
     1.1 --- a/xen/include/asm-x86/smp.h	Wed Feb 02 15:24:31 2005 +0000
     1.2 +++ b/xen/include/asm-x86/smp.h	Wed Feb 02 18:27:05 2005 +0000
     1.3 @@ -61,12 +61,7 @@ extern void smp_store_cpu_info(int id);	
     1.4   * so this is correct in the x86 case.
     1.5   */
     1.6  
     1.7 -#if defined(__i386__)
     1.8  #define smp_processor_id() (current->processor)
     1.9 -#elif defined(__x86_64__)
    1.10 -#include <asm/pda.h>
    1.11 -#define smp_processor_id() read_pda(cpunumber)
    1.12 -#endif
    1.13  
    1.14  static __inline int hard_smp_processor_id(void)
    1.15  {