There is a bug in rheap for alignment. The patch is still hanging around. Search rheap and alignment on the linuxppc-dev list for patch previously posted.
Best Regards, Leo > -----Original Message----- > From: linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org > [mailto:linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org] On > Behalf Of > GSM909 at gmx.de > Sent: Monday, July 31, 2006 4:50 PM > To: linuxppc-embedded at ozlabs.org > Subject: cpm_dpalloc > > Hi All > > I have a MPC82xx Processor from Freescale with Linux 2.6.14 ( Can?t chance to > an > new version). > > My Problem is that I want to allocate a 64byte of memory in the dual ported > ram > with an alignment of 64bytes. (Needed for SPI Parameter Ram) > > the funktion cpm_dpalloc(64,64) returned 0x220 but that are not in a 64 byte > alignment. > > Regards > Fred > -- > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded at ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded