/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_METAG_MMZONE_H #define __ASM_METAG_MMZONE_H #ifdef CONFIG_NEED_MULTIPLE_NODES #include <linux/numa.h> extern struct pglist_data *node_data[]; #define NODE_DATA(nid) (node_data[nid])
static inline int pfn_to_nid(unsigned long pfn) { int nid; for (nid = 0; nid < MAX_NUMNODES; nid++) if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) break; return nid; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 47 | 100.00% | 1 | 100.00% |
Total | 47 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 22 | 100.00% | 1 | 100.00% |
Total | 22 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 9 | 100.00% | 1 | 100.00% |
Total | 9 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 162 | 99.39% | 1 | 50.00% |
Greg Kroah-Hartman | 1 | 0.61% | 1 | 50.00% |
Total | 163 | 100.00% | 2 | 100.00% |