diff options
Diffstat (limited to 'mm/ksm.c')
-rw-r--r-- | mm/ksm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -489,7 +489,7 @@ out: page = NULL; | |||
489 | */ | 489 | */ |
490 | static inline int get_kpfn_nid(unsigned long kpfn) | 490 | static inline int get_kpfn_nid(unsigned long kpfn) |
491 | { | 491 | { |
492 | return ksm_merge_across_nodes ? 0 : pfn_to_nid(kpfn); | 492 | return ksm_merge_across_nodes ? 0 : NUMA(pfn_to_nid(kpfn)); |
493 | } | 493 | } |
494 | 494 | ||
495 | static void remove_node_from_stable_tree(struct stable_node *stable_node) | 495 | static void remove_node_from_stable_tree(struct stable_node *stable_node) |