On 2014-02-27 15:48, Nishanth Aravamudan wrote: > Commit 8d5390c4 ("libhugetlbfs: Remove segment-based alignment > restrictions") defined the CPPFLAG PPC_NO_SEGMENTS, because BookE > Freescale processors don't have this restriction. However it is defined > globally and thus is also applied to 32-bit builds on pseries hardware. > This is simply incorrect and breaks the 32-bit malloc testcases (which > fail to align the heap address correctly) on ppc64, because there is no > situation where PPC_NO_SEGMENTS is not defined. > > I believe the right fix is to only define this flag when we are on a > natively 32-bit platform. With this change, the malloc testcase pass > again. > > Signed-off-by: Nishanth Aravamudan <n...@linux.vnet.ibm.com> >
Applied, thanks. Eric ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel