A patch with Signed-Off-By: Bob Hepple <[EMAIL PROTECTED]> please. Only then i can merge your changes.
Regards-- Subrata On Fri, 2008-08-22 at 13:42 +1000, Bob Hepple wrote: > On centos-5 2.6.18 kernel, I get a failure with shmat01: > > shmat01 1 FAIL : shmat01 call failed - errno = 22 : Invalid argument > shmat01 2 BROK : Remaining cases broken > shmat01 3 BROK : Remaining cases broken > > In the setup() function at the end: > > /* some architectures (e.g. parisc) are strange, so better always > align to > * next SHMLBA address. */ > base_addr = (void *)( ((unsigned long)(base_addr) & ~(SHMLBA-1)) + > SHMLBA ); > > This bumps up the address if it's already aligned!!!!! > > This this line instead: > base_addr = (void *)( ((unsigned long)(base_addr) + (SHMLBA-1)) & > ~(SHMLBA-1)); > > it works on all of our i686 systems. > > Bob > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
