Home | History | Annotate | Download | only in asm-generic
      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_GENERIC_TOPOLOGY_H
     13 #define _ASM_GENERIC_TOPOLOGY_H
     14 
     15 #ifndef cpu_to_node
     16 #define cpu_to_node(cpu) (0)
     17 #endif
     18 #ifndef parent_node
     19 #define parent_node(node) (0)
     20 #endif
     21 #ifndef node_to_cpumask
     22 #define node_to_cpumask(node) (cpu_online_map)
     23 #endif
     24 #ifndef node_to_first_cpu
     25 #define node_to_first_cpu(node) (0)
     26 #endif
     27 #ifndef pcibus_to_node
     28 #define pcibus_to_node(node) (-1)
     29 #endif
     30 
     31 #ifndef pcibus_to_cpumask
     32 #define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ?   CPU_MASK_ALL :   node_to_cpumask(pcibus_to_node(bus))   )
     33 #endif
     34 
     35 #endif
     36