[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH 2/3] mm: Add SECTION_ALIGN_UP() and SECTION_ALIGN_DOWN() macro
On Tue, 29 Mar 2011, Daniel Kiper wrote: > > These are only valid for CONFIG_SPARSEMEM, so they need to be defined > > conditionally. > > OK, however, I think that pfn_to_section_nr()/section_nr_to_pfn() > should be defined conditionally, too. > Yes, and you could try removing this from include/linux/mm.h: #ifndef PFN_SECTION_SHIFT #define PFN_SECTION_SHIFT 0 #endif then we'll reveal anything using these conversion macros that don't rely on sparsemem. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |