|
@@ -188,7 +188,7 @@ DECLARE_PER_CPU(int, numa_node);
|
|
|
/* Returns the number of the current Node. */
|
|
|
static inline int numa_node_id(void)
|
|
|
{
|
|
|
- return __this_cpu_read(numa_node);
|
|
|
+ return raw_cpu_read(numa_node);
|
|
|
}
|
|
|
#endif
|
|
|
|
|
@@ -245,7 +245,7 @@ static inline void set_numa_mem(int node)
|
|
|
/* Returns the number of the nearest Node with memory */
|
|
|
static inline int numa_mem_id(void)
|
|
|
{
|
|
|
- return __this_cpu_read(_numa_mem_);
|
|
|
+ return raw_cpu_read(_numa_mem_);
|
|
|
}
|
|
|
#endif
|
|
|
|