2 #include <linux/init.h>
3 #include <linux/topology.h>
7 static unsigned char mp_bus_to_node
[BUS_NR
];
9 void set_mp_bus_to_node(int busnum
, int node
)
11 if (busnum
>= 0 && busnum
< BUS_NR
)
12 mp_bus_to_node
[busnum
] = (unsigned char) node
;
15 int get_mp_bus_to_node(int busnum
)
19 if (busnum
< 0 || busnum
> (BUS_NR
- 1))
21 node
= mp_bus_to_node
[busnum
];