|
@@ -41,8 +41,6 @@ static inline int cpu_to_node(int cpu)
|
|
cpu_all_mask : \
|
|
cpu_all_mask : \
|
|
node_to_cpumask_map[node])
|
|
node_to_cpumask_map[node])
|
|
|
|
|
|
-int of_node_to_nid(struct device_node *device);
|
|
|
|
-
|
|
|
|
struct pci_bus;
|
|
struct pci_bus;
|
|
#ifdef CONFIG_PCI
|
|
#ifdef CONFIG_PCI
|
|
extern int pcibus_to_node(struct pci_bus *bus);
|
|
extern int pcibus_to_node(struct pci_bus *bus);
|
|
@@ -94,11 +92,6 @@ extern void sysfs_remove_device_from_node(struct sys_device *dev, int nid);
|
|
|
|
|
|
#else
|
|
#else
|
|
|
|
|
|
-static inline int of_node_to_nid(struct device_node *device)
|
|
|
|
-{
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline void dump_numa_cpu_topology(void) {}
|
|
static inline void dump_numa_cpu_topology(void) {}
|
|
|
|
|
|
static inline int sysfs_add_device_to_node(struct sys_device *dev, int nid)
|
|
static inline int sysfs_add_device_to_node(struct sys_device *dev, int nid)
|