/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SH_MMZONE_H #define __ASM_SH_MMZONE_H #ifdef __KERNEL__ #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 |
Paul Mundt | 47 | 100.00% | 1 | 100.00% |
Total | 47 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Paul Mundt | 22 | 100.00% | 1 | 100.00% |
Total | 22 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Paul Mundt | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Paul Mundt | 164 | 91.11% | 3 | 60.00% |
Magnus Damm | 15 | 8.33% | 1 | 20.00% |
Greg Kroah-Hartman | 1 | 0.56% | 1 | 20.00% |
Total | 180 | 100.00% | 5 | 100.00% |