Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_SMP_H
     13 #define __ASM_SMP_H
     14 
     15 #ifndef __ASSEMBLY__
     16 #include <linux/kernel.h>
     17 #include <linux/threads.h>
     18 #include <linux/cpumask.h>
     19 #endif
     20 
     21 #define BAD_APICID 0xFFu
     22 
     23 #define safe_smp_processor_id() 0
     24 #define cpu_physical_id(cpu) boot_cpu_physical_apicid
     25 
     26 #define NO_PROC_ID 0xFF
     27 
     28 #ifndef __ASSEMBLY__
     29 
     30 #define hard_smp_processor_id() 0
     31 
     32 #endif
     33 
     34 #endif
     35