1 /****************************************************************************
2 ****************************************************************************
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.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _ASM_GENERIC_TOPOLOGY_H
13 #define _ASM_GENERIC_TOPOLOGY_H
16 #define cpu_to_node(cpu) (0)
19 #define parent_node(node) (0)
21 #ifndef node_to_cpumask
22 #define node_to_cpumask(node) (cpu_online_map)
24 #ifndef node_to_first_cpu
25 #define node_to_first_cpu(node) (0)
27 #ifndef pcibus_to_node
28 #define pcibus_to_node(node) (-1)
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)) )