The patch titled define node_*_pfn for non-NUMA builds has been added to the -mm tree. Its filename is kcore-use-registerd-physmem-information-define-node__pfn-for-non-numa-builds.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: define node_*_pfn for non-NUMA builds From: Jiri Slaby <jirislaby@xxxxxxxxx> FWIW "Latest fs/proc/kcore updates" in the changelog are these from mmotm: > kcore-use-registerd-physmem-information.patch > kcore-use-registerd-physmem-information-fix.patch > kcore-use-registerd-physmem-information-checkpatch-fixes.patch -- Latest fs/proc/kcore updates need node_end_pfn. To avoid a compiler error: fs/proc/kcore.c: In function `kcore_update_ram': fs/proc/kcore.c:200: error: implicit declaration of function `node_end_pfn' define node_start_pfn and node_end_pfn as simple contig_page_data accessors on !NUMA builds. Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mmzone.h | 3 +++ 1 file changed, 3 insertions(+) diff -puN include/linux/mmzone.h~kcore-use-registerd-physmem-information-define-node__pfn-for-non-numa-builds include/linux/mmzone.h --- a/include/linux/mmzone.h~kcore-use-registerd-physmem-information-define-node__pfn-for-non-numa-builds +++ a/include/linux/mmzone.h @@ -771,6 +771,9 @@ extern char numa_zonelist_order[]; extern struct pglist_data contig_page_data; #define NODE_DATA(nid) (&contig_page_data) #define NODE_MEM_MAP(nid) mem_map +#define node_start_pfn(nid) (contig_page_data.node_start_pfn) +#define node_end_pfn(nid) (contig_page_data.node_start_pfn + \ + contig_page_data.node_spanned_pages) #else /* CONFIG_NEED_MULTIPLE_NODES */ _ Patches currently in -mm which might be from jirislaby@xxxxxxxxx are linux-next.patch toshiba_acpi-return-on-a-fail-path.patch mtd-sst25l-fix-lock-imbalance.patch isdn-hisax-fix-lock-imbalance.patch icom-converting-space-to-tabs.patch cyclades-read-buffer-overflow.patch serial167-fix-read-buffer-overflow.patch kcore-use-registerd-physmem-information-define-node__pfn-for-non-numa-builds.patch video-console-use-div_round_up.patch memory-controller-soft-limit-organize-cgroups-v9-fix.patch cyclades-allow-overriding-isa-defaults-also-when-the-driver-is-built-in.patch drivers-char-rio-rioctrlc-off-by-one-error-in-rioctrlc.patch reiser4.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html