Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1678920
| From | Michal Hocko <mhocko@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: "mm: use early_pfn_to_nid in page_ext_init" broken on some configurations? |
| Date | 2017-06-30 17:50 +0200 |
| Message-ID | <tY6ld-7hu-43@gated-at.bofh.it> (permalink) |
| References | <tY4W7-6wZ-55@gated-at.bofh.it> <tY6ld-7hu-45@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri 30-06-17 17:42:24, Michal Hocko wrote:
[...]
> diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
> index 16532fa0bb64..894697c1e6f5 100644
> --- a/include/linux/mmzone.h
> +++ b/include/linux/mmzone.h
> @@ -1055,6 +1055,7 @@ static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist,
> !defined(CONFIG_HAVE_MEMBLOCK_NODE_MAP)
> static inline unsigned long early_pfn_to_nid(unsigned long pfn)
> {
> + BUILD_BUG_ON(!IS_ENABLED(CONFIG_NUMA));
Err, this should read BUILD_BUG_ON(IS_ENABLED(CONFIG_NUMA)) of course
> return 0;
> }
> #endif
--
Michal Hocko
SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"mm: use early_pfn_to_nid in page_ext_init" broken on some configurations? Michal Hocko <mhocko@kernel.org> - 2017-06-30 16:20 +0200 Re: "mm: use early_pfn_to_nid in page_ext_init" broken on some configurations? Michal Hocko <mhocko@kernel.org> - 2017-06-30 17:50 +0200 Re: "mm: use early_pfn_to_nid in page_ext_init" broken on some configurations? Michal Hocko <mhocko@kernel.org> - 2017-06-30 17:50 +0200 Re: "mm: use early_pfn_to_nid in page_ext_init" broken on some configurations? Vlastimil Babka <vbabka@suse.cz> - 2017-07-03 13:50 +0200
csiph-web