|
@@ -667,7 +667,10 @@ static inline void of_property_clear_flag(struct property *p, unsigned long flag
|
|
#if defined(CONFIG_OF) && defined(CONFIG_NUMA)
|
|
#if defined(CONFIG_OF) && defined(CONFIG_NUMA)
|
|
extern int of_node_to_nid(struct device_node *np);
|
|
extern int of_node_to_nid(struct device_node *np);
|
|
#else
|
|
#else
|
|
-static inline int of_node_to_nid(struct device_node *device) { return 0; }
|
|
|
|
|
|
+static inline int of_node_to_nid(struct device_node *device)
|
|
|
|
+{
|
|
|
|
+ return NUMA_NO_NODE;
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
static inline struct device_node *of_find_matching_node(
|
|
static inline struct device_node *of_find_matching_node(
|